Survival Games
Survival Games
This plugin was originally authored by Double0Negative and this is the updated and optimized version for Spigot.
Survival Games is a plugin that has the aim of creating a fully automated hunger games style experience. The plugin was created to be simple to use, and to be easily setup on any type of server, no matter the size or type! Survival Games provides a way for your server to have a full fledged, fully automated hunger games experience for any player. For more information on the aim of the plugin, watch popular youtuber AntVenom play Survival Games HERE.
Development Files - Change Log - Source Code
Features
- Full Automation
- Automatic Arena Reset
- Does not use Redstone! - Create your own maps!
- Automatic Chest Reset
- Auto game start with voting & more.
- Spectators
- Signs
- In game lobby with real-time player and arena status.
- Unlimited Arenas
- Unlimited Spawns per Arena
- Simultaneous games
- Multiworld support
- Web based stats
Planned Features:
- BungeeCord Support
- Kits
Known Bugs:
- None
Requirements:
- MySQL Database (optional) - If you wish to use stats, you must have a SQL database. It is no longer required for logging.
- WorldEdit - Needed to create arenas
Installation
Place the Survival-Games.jar into the directory plugins and start/restart the server.
Commands
Player Commands:
- /sg vote - Vote to start the game
- /sg leave - Leave the game
- /sg join - Teleports you to the lobby spawn point
- /sg join <id> - Joins the game <id>
- /list - Shows a list of players dead and alive players (only ingame)
- /sg spectate <id> - spectate a game
- /sg lq or /sg leavequeue - Leave the queue your in.
Admin Commands:
- /sg createarena - Creates a new arena in your region selected with world edit
- /sg setlobbyspawn - Set the spawn point for dead tributes
- /sg addwall <arena> - Sets the signs you have selected with worldedit as a lobbywall.
- /sg disable <gameid> - Disable a game and force reset it (forces the arena rollback to run, useful if a crash or server shutdown occurs while a game is running. Also allows you to make changes the the arena.
- /sg disable - Disabled every arena at once
- /sg enable <gameid> - renable a disabled game
- /sg enable - enable all games
- /sg start - Force Start the game your in
- /sg start <arenaid> <Time> - Force a game to start <arenaid> is the arena # and the <time> is how long the countdown is
- /sg setspawn next - Set the next spawn point for the arena you are located in
- /sg setspawn <spawnid> - set a specific spawn for the arena you are in (
- /sg delarena <id> - Deletes an arena
- /sg resetspawns <id> - resets all spawns for an arena
- /sg refill - Refills the chest stock.
- /sg reload <games | settings | all> - reloads part or all of the plugin.
- Note: /sg can be interchanged with /survivalgames, /hg and /hungergames
Permissions
Player Permissions:
- sg.arena.join.# - Allows the user to join a certain arena
- sg.arena.join.* - Allows the user to join all arenas
- sg.arena.vote - Allows the user to vote to start (/sg vote)
- sg.arena.spectate - Allows a user to spectate a game
- sg.lobby.join - Allows the use of /sg join to join the lobby
- Staff Permissions:
- sg.arena.forcestart - Allows the user to Start Sg (/sg start)
- sg.arena.disable - Allows the user to disable an arena
- sg.arena.enable - Allows the user to enable an arena
- sg.arena.nocmdblock - Allows user to bypass ingame cmd block
- Admin Permissions:
- sg.arena.create - Allows the user to create an arena
- sg.arena.setspawn - Allows user to set spawns
- sg.arena.resetspawns - Allows the user to reset all spawnpoints
- sg.arena.delete - Allows a user to delete an arena
- sg.lobby.set - Allows the user to set the lobby spawn and wall
Metrics
This plugin utilises Hidendra's plugin metrics system, which means that the following information is collected and sent to mcstats.org:
- A unique identifier
- The server's version of Java
- Whether the server is in offline or online mode
- The plugin's version
- The server's version
- The OS version/name and architecture
- The core count for the CPU
- The number of players online
- The Metrics version If you wish to disable this feature (/me cries), you can do so by opt-in out, which you can do in the config file under /plugins/PluginMetrics/
is there a feature for the plugin a scoreboard on the side of the screen with players alive, and how many minutes til deathmatch?
@TG10MC
That's the one I use for the main lobby.
Is there one for a waiting lobby so players wait in a area while they wait for players to join. Then, when there's x amount of players, it teleports them to the game. If this isn't a feature, could it be one? Just a suggestion.
@TecRyan
/sg setlobbyspawn
@TG10MC
Oh, sorry!
What command is this?
@TecRyan
This feature is already present in the plugin.
Hey!
Great plugin, works amazingly!
Could you add a waiting lobby so, if enabled, players have to wait a certain amount of time, while other players join, before getting reported to the map.
@chsedv
Make an empty signs on the wall.
Use wand and select the signs (Must be a straight line)
then do /sg addwall <Arena ID>
how can i make a sign for Join ?
search for Video-Tutorial for this nice Plugin
@OtagOnline
Ah! Sorry! This will be fixed in the next update. :)
Working great for me and I love it. I only have one issues and it is with kits. They work fine for ops but for no other groups. I've added the perms sg.kits.kit1 and so on but they only work for ops. I am useing PEX. I get no errors in the console. Seems like they just don't have permission. Any clues. Works great otherwise and I just fill my chests accordingly but I'd like to have the kits for my groups.
edit: never mind I figured it out. Your kit config file says the permission for kits is permission for each kit is sg.kits.<kitname>
But the permission is actually sg.kit.kitname without the s in kits. Works like a charm now you may want to take the s out in your next update.
Thanks for an awesome working plugin. Tested and running good on 1.9.2
@Drobberz
No problem!
Awesome you have update it! ;)
@SuperRonanCraft
Looks like the input "punch:2" is causing the error. And i don't see that in your config that you provided. Try finding that and removing it.
Great start to the plugin, I can actually make it playable unlike most others. But please add a wiki on how to add kits and make the reloading not be so buggy cause when I reload the plugin arenas are non playable and the lobby signs go away. And also here is my error list when ever I try to add a kit to the kits list, can you help me on that?
http://pastebin.com/6kxymk1G
[+]
edit:
Yeah, I can't add any enchantments this is what im trying to do, I can only get the kits to work if I restart the server and comment out all the parts where I have an enchantment, I even researched the bukkit names for all the enchantments, and non of them work, on the sharpness works:
kits:
Swordsman:
cost: 0
icon: '339'
contents:
- '267, 1, 0, sharpness:2'
- '261'
- '307'
- '308'
Archer:
cost: 0
icon: '339'
contents:
- '261'
- '262, 32'
- '299'
- '301, 1, 0, PROTECTION_FALL:2'
PinPoint:
cost: 0
icon: '339'
contents:
- '261, 1, 0, power:3'
- '262, 8'
- '299'
LuckyDraw:
cost: 0
icon: '339'
contents:
- '261, 1, 0, ARROW_INFINITE:1'
- '298'
- '299'
- '300'
- '301'
Barbarian:
cost: 0
icon: '339'
contents:
- '258, 1, 0, knockback:1'
- '303'
- '304'
@KutyaGhumi
Spigot 1.9 does not support items by ID, Use names..
@AlfreDGR
It's on the list.
@der_Kernschatten
You must download/build the world/map yourself, And the plugin will automatically regenerate its structures once a game ends.
Is there a way to put potions in the chests? Because I cannot use 373:8193 in the chests.ym, it causes an error. Can anyone help me?
Can you add Scoreboard? Please. Because i am creating a hunger games in my server if you want that servers the ip is cg.serveminecraft.net