With this plugin you can play SkyWars.
Plugin support only 1 arena with 1 server
Features: - MySQL support to collect players stats
- BungeeCord support to leave from game into lobby
- Cages with permissions
- Kits with permissions
- Configurable loot into chests
- Configurable kits
- Configurable messages
Requirements: - Spigot/Paperspigot 1.16+
- Vault and any economy plugin
- Optionally,
TAB plugin
Installation: 1) Put this plugin into your 'plugins' folder.
2) Duplicate your 'world' folder as 'map' folder and write in your 'start.sh/.bat' script to delete 'world' folder and duplicate 'map' folder as 'world' folder (server example at github). It is needed for map regeneration.
3) Start the server and edit config.yml in plugin folder, then restart.
Code (YAML):
#TAB plugin by NEZNAMY - https://github.com/NEZNAMY/TAB/releases/tag/2.9.2 #With this plugin players will have colored nicknames in TAB
#PLUGIN CANNOT REGENERATE MAP! #You need to use shell script to replace map at your server folder after restart! #SHELL EXAMPLE of start.sh (linux) #rm -R world #cp -avr map world #screen -S bw7 -X quit #screen -S bw7 -m -d java -Xincgc -server -jar -Xms800m -Xmx800m spigot-1.17.1.jar # #SHELL EXAMPLE of start.bat (windows) #rd /s /q "logs" #rd /s /q "world" #xcopy map world /D /E /C /R /H /I /K /Y #java -jar -Xms600m -Xmx600m spigot-1.17.1.jar # #folder map should have CLEAN map bungee_enabled: false
MySQL:
enabled: false
url: "jdbc:mysql://localhost:3306/minigames?useSSL=false&autoReConnect=true" user: "root" password: "" border_radius: 400.0
win_money: 50
kill_money: 5
#in percents (%) of killed player's money glasses:
default: "WHITE_STAINED_GLASS" vip: "BLUE_STAINED_GLASS"#pex: SkyWars.vip vip+: "YELLOW_STAINED_GLASS"#pex: SkyWars.vip+ mvp: "GREEN_STAINED_GLASS"#pex: SkyWars.mvp mvp+: "RED_STAINED_GLASS"#pex: SkyWars.mvp+ premium: "BLACK_STAINED_GLASS"#pex: SkyWars.premium start_time: 30
game_time: 2400
arena:
name: null
status: edit
spawns: []
Code (Text):
team_select: "&aTeam select"
team_inv: "Team "
select_kit: "&cKit select &7(for one game)"
back_to_lobby: "&cBack to lobby &7(right click)"
kits_shop: "&3Kits shop"
available_for: "&7Available for &c%group% &7and higher"
price_item: "&7Price: &c%price% &7$"
everyone: "&aFor everyone"
spec: "&6Your are spectator!"
win: "&a&lWIN"
end_game1: "&7There were survivors, so statistics will not change"
end_game2: "&aYou won! Your reward is &c%money% &a$"
end_game3: "&6&lWinners: &a"
end_game4: "&7The game will end in &c%time% &7seconds"
end_game5: "&cThe game is over!"
start_game1: "&7The game will start in &c%time% &7seconds"
start_game2: "&aThe game started!"
kills_top1: "&b&lKillers top&f:"
kills_top2: "place "
chests_refill: "&eChests was refilled"
scoreboard:
balance: "&7Balance: &a%money%&7$"
status1: "&7Status:&c waiting..."
status2: "&7Status:&c playing"
status3: "&7Status:&c editing"
players: "&7Players:&c %current%&e/&c%max%"
time: "&7Time: &c%time% &7seconds"
info: "&7some information"
team_selected: "&aSelected team &c"
team_is_full: "&cTeam is full!"
you_already_at_this_team: "&cYou already choosed this team"
you_already_selected_kit: "&cYou already choosed your kit"
no_perms: "&cYou have no permissions!"
no_money: "&cYou don't have enough money!"
kit_selected: "&7You selected kit: &e"
kill: "&c%killed% &ewas killed by &c%killer%"
died: " &7died"
teammate_died: "&7cYour teammate %e%player% &cdied"
teammate_left: "&7cYour teammate %e%player% &cjust left"
player_join: " &ejoined &c"
game_in_progress: "&cThe game is in progress"
distance: "Distance %dis% blocks to closest player"
player_left: " &eleft the game &c"
Commands: 1) /sw create [name] - create arena
2) /sw setminteams [count]
3) /sw setmaxteams [count]
4) /sw setplayersinteam [count]
5) /sw addspawn - add player's spawn (above island)
6) /sw finish - finish setup
7) /sw addkit [name] [permission] [price] - add items in your inventory in config as kit
8) /sw setspec - set spectator's spawn
9) /sw start - force start the game
10) /sw chestadd [chance] - add item in your hand into chests loot with some chance (integer number from 1 to 100)