MinigamesLib: Gungame
MinigamesLib: Gungame
Gungame is a pvp minigame where your gear gets better and better per kill. You also get 2 gunpoints, which allow you to buy stuff in the shop, per kill and lose one per death.
This is an instant pvp gamemode, it doesn't have boundaries and doesn't end.
Setup
You need to install MinigamesLib for the plugin to work
Also, you'll need Vault for economy rewards to work.
- /gg setmainlobby set the main lobby where all join signs will be
- /gg setlobby [arena] set the waiting lobby
- /gg setspawn [arena] sets the player spawn, don't forget to disable pvp at the spawn (with worldguard)
- /gg savearena [arena]
You can now set a join sign (optionally). Lines:
- Gungame
- [arena]
Versions
Gungame v1.1 = MinigamesLib 1.3 and lower
Gungame v1.2 = MinigamesLib 1.4 and higher
Gungame v1.5 = MinigamesLib 1.6 and higher
Commands/Perms
Command | Description | Permission |
---|---|---|
/gg | Shows all possible commands | |
/gp | Shows your gunpoints (GP) | |
/gg leaderboards | Shows GP leaderboards | |
/gg shop | Shows GP Shop | |
/gg setspawn <arena> | Sets the spawn point. | gungame.setup |
/gg setlobby <arena> | Sets the lobby point. | gungame.setup |
/gg setmainlobby | Sets the main lobby point. | gungame.setup |
/gg savearena <arena> | Saves the arena. | gungame.setup |
/gg setmaxplayers <arena> <count> | Sets the max players allowed to join to given count. | gungame.setup |
/gg setminplayers <arena> <count> | Sets the min players needed to start to given count. | gungame.setup |
/gg setarenavip <arena> <true/false> | Sets whether arena needs permission to join. | gungame.setup |
/gg removearena <arena> | Deletes an arena from config. | gungame.setup |
/gg removespawn <arena> <count> | Deletes a spawn from config. | gungame.setup |
/gg join <arena> | Joins the arena. | |
/gg leave | Leaves the arena. | |
/gg start <arena> | Force-starts the arena. | gungame.start |
/gg stop <arena> | Force-stops the arena. | gungame.stop |
/gg list | Lists all arenas. | |
/gg reload | Reloads the config. |
Config
There are a few config files (config.yml, classes.yml, arenas.yml, messages.yml, stats.yml) which are mostly self explanatory. Be aware that guns.yml is not used in this minigame!
There's also a config for all 30 currently included levels called levels.yml. You can change all items and use crackshot weapons there.
levels.yml:
# All level upgrades from 0 to 30. config: join_level_items: 268*1 levels: level0: items: 268*1;261*1;262*64;crackshot:python level1: items: 268*1;261*1;262*64;262*64;299*1 level2: items: 268*1;261*1;262*64;262*64;299*1;298*1;300*1;301*1 level3: items: 272*1;261*1;262*64;262*64;299*1 level4: items: 272#DAMAGE_ALL:1*1;261*1;262*64;262*64;315*1 level5: items: 272#DAMAGE_ALL:1*1;261*1;262*64;262*64;315*1;314*1;316*1;317*1 level6: items: 272#DAMAGE_ALL:1*1;261*1;262*64;262*64;315*1;314*1;316*1;317*1;373:8197*1 level7: items: 272#DAMAGE_ALL:1*1;261#ARROW_DAMAGE:1*1;262*64;262*64;315*1;314*1;316*1;317*1 level8: items: 272#DAMAGE_ALL:1*1;261#ARROW_DAMAGE:1*1;262*64;262*64;315*1;314*1;316*1;317*1;373:8197*2 level9: items: 267*1;261#ARROW_DAMAGE:2*1;262*64;262*64;307#PROTECTION_ENVIRONMENTAL:1*1;373:8197*1 level10: items: 267*1;261#ARROW_DAMAGE:2*1;262*64;262*64;315#PROTECTION_ENVIRONMENTAL:2*1;373:16456*2 level11: items: 267#DAMAGE_ALL:1*1;261#ARROW_DAMAGE:3*1;262*64;262*64;315#PROTECTION_ENVIRONMENTAL:2*1;373:16456*3 level12: items: 267#DAMAGE_ALL:1*1;261#ARROW_DAMAGE:3*1;262*64;262*64;315#PROTECTION_ENVIRONMENTAL:1*1;314#PROTECTION_ENVIRONMENTAL:1*1;316#PROTECTION_ENVIRONMENTAL:1*1;317#PROTECTION_ENVIRONMENTAL:1*1 level13: items: 267#DAMAGE_ALL:1*1;261#ARROW_DAMAGE:3*1;262*64;262*64;315#PROTECTION_ENVIRONMENTAL:1*1;314#PROTECTION_ENVIRONMENTAL:1*1;316#PROTECTION_ENVIRONMENTAL:1*1;317#PROTECTION_ENVIRONMENTAL:1*1;373:16428*1 level14: items: 267#DAMAGE_ALL:1*1;261#ARROW_DAMAGE:3*1;262*64;262*64;315#PROTECTION_ENVIRONMENTAL:1*1;314#PROTECTION_ENVIRONMENTAL:1*1;316#PROTECTION_ENVIRONMENTAL:1*1;317#PROTECTION_ENVIRONMENTAL:1*1;373:16428*2 level15: items: 267#DAMAGE_ALL:2*1;261#ARROW_DAMAGE:3*1;262*64;262*64;315#PROTECTION_ENVIRONMENTAL:1*1;314#PROTECTION_ENVIRONMENTAL:1*1;316#PROTECTION_ENVIRONMENTAL:1*1;317#PROTECTION_ENVIRONMENTAL:1*1;373:8197*3 level16: items: 267#DAMAGE_ALL:2*1;261#ARROW_DAMAGE:3*1;262*64;262*64;315#PROTECTION_ENVIRONMENTAL:1*1;314#PROTECTION_ENVIRONMENTAL:1*1;316#PROTECTION_ENVIRONMENTAL:1*1;317#PROTECTION_ENVIRONMENTAL:1*1;373:8197*3 level17: items: 267#DAMAGE_ALL:2*1;261#ARROW_DAMAGE:3#ARROW_KNOCKBACK:1*1;262*64;262*64;315#PROTECTION_ENVIRONMENTAL:1*1;314#PROTECTION_ENVIRONMENTAL:1*1;316#PROTECTION_ENVIRONMENTAL:1*1;317#PROTECTION_ENVIRONMENTAL:1*1;373:8197*3 level18: items: 267#DAMAGE_ALL:2*1;261#ARROW_DAMAGE:3#ARROW_KNOCKBACK:1*1;262*64;262*64;315#PROTECTION_ENVIRONMENTAL:1*1;314#PROTECTION_ENVIRONMENTAL:1*1;316#PROTECTION_ENVIRONMENTAL:1*1;317#PROTECTION_ENVIRONMENTAL:1*1;373:8197*3 level19: items: 267#DAMAGE_ALL:2#KNOCKBACK:1*1;261#ARROW_DAMAGE:3#ARROW_KNOCKBACK:1*1;262*64;262*64;315#PROTECTION_ENVIRONMENTAL:1*1;314#PROTECTION_ENVIRONMENTAL:1*1;316#PROTECTION_ENVIRONMENTAL:1*1;317#PROTECTION_ENVIRONMENTAL:1*1;373:8197*3 level20: items: 267#DAMAGE_ALL:3*1;261#ARROW_DAMAGE:3#ARROW_KNOCKBACK:1*1;262*64;262*64;315#PROTECTION_ENVIRONMENTAL:1*1;314#PROTECTION_ENVIRONMENTAL:1*1;316#PROTECTION_ENVIRONMENTAL:1*1;317#PROTECTION_ENVIRONMENTAL:1*1;373:8197*3 level21: items: 267#DAMAGE_ALL:3*1;261#ARROW_DAMAGE:3#ARROW_KNOCKBACK:2*1;262*64;262*64;315#PROTECTION_ENVIRONMENTAL:1*1;314#PROTECTION_ENVIRONMENTAL:1*1;316#PROTECTION_ENVIRONMENTAL:1*1;317#PROTECTION_ENVIRONMENTAL:1*1;373:8197*3;373:16388*1 level22: items: 267#DAMAGE_ALL:3*1;261#ARROW_DAMAGE:3#ARROW_KNOCKBACK:2*1;262*64;262*64;314*1;307#PROTECTION_ENVIRONMENTAL:2*1;317*1 level23: items: 267#DAMAGE_ALL:3*1;261#ARROW_DAMAGE:3#ARROW_KNOCKBACK:2*1;262*64;262*64;314*1;307#PROTECTION_ENVIRONMENTAL:2*1;316*1;317*1;373:16388*1 level24: items: 267#DAMAGE_ALL:3*1;261#ARROW_DAMAGE:3#ARROW_KNOCKBACK:2*1;262*64;262*64;314*1;307#PROTECTION_ENVIRONMENTAL:2*1;316*1;317*1;373:8197*1 level25: items: 267#DAMAGE_ALL:3*1;261#ARROW_DAMAGE:4*1;262*64;262*64;314*1;307#PROTECTION_ENVIRONMENTAL:2*1;316*1;309*1;373:8197*1 level26: items: 267#DAMAGE_ALL:3*1;261#ARROW_DAMAGE:4*1;262*64;262*64;306*1;307#PROTECTION_ENVIRONMENTAL:2*1;308*1;309*1 level27: items: 267#DAMAGE_ALL:3*1;261#ARROW_DAMAGE:4#ARROW_INFINITE:1*1;262*1;306*1;307#PROTECTION_ENVIRONMENTAL:2*1;308*1;309*1 level28: items: 267#DAMAGE_ALL:3*1;261#ARROW_DAMAGE:4#ARROW_INFINITE:1*1;262*1;306*1;307#PROTECTION_ENVIRONMENTAL:2*1;308*1;309*1;373:8197*3;373:16388*1 level29: items: 267#DAMAGE_ALL:3*1;261#ARROW_DAMAGE:4#ARROW_INFINITE:1*1;262*1;306#PROTECTION_ENVIRONMENTAL:1*1;307#PROTECTION_ENVIRONMENTAL:1*1;308#PROTECTION_ENVIRONMENTAL:1*1;309#PROTECTION_ENVIRONMENTAL:1*1
Items in the config: If you would want 32 enchanted red wool blocks, you'd adjust the config to: 35:14#DAMAGE_ALL:1*32, where :14 is the data for red, 35 the id for wool, and the DAMAGE_ALL:1 the enchantment + level.
Preview
Youtube
[English] Tutorial by LtJim007: https://www.youtube.com/watch?v=L2l6cd-x3vk [Portuguese] Tutorial by Tuffão Gamer: https://www.youtube.com/watch?v=CPqLx-EEyDw
TODO
- Suggestions are welcome. :)
Additional Information
Have fun :)
BUGS?
Submit them here: http://dev.bukkit.org/bukkit-plugins/instances-minigamesapi/forum/ and NOT in the comments!
HEY GUYS!!! JOIN MY SERVER! THERE IS 3 MINIGAMES! 1. SNAKE 2. GUNGAME 3. PAINTBALL! PLEASE DONATE SO I CAN ADD MORE AND MAKE THE SERVER WORK 24/7! JOIN HERE! IP: yee.serv.nu
When i make my own classes.yml for GunGame it keeps adding the defaults back in... need fix asap? Anyone?!
Is there a way to name the items you spawn with?
Love this plugin and the work Instances is doing. Can I make a few suggestions for this game and a update. First, allow the use of the guns that you have created in the guns.yml file aas it would be amazing, a game called gungame with guns... heheeh
Now is it possible to atually get the classes/kits to be sold using money like all your other games do. you know option to use Gunpoints for purchase or money. I know this is in the config but doe not work.
Having a waiting lobby that works would be good as at the moment one person can enter the game and run around. they should have to wait till countdown like all others and have min players. you can also have late joining set so that others can come and go in the game.
And lastly if possible, signs that we can place on any block type so we can interact with shops. As in Gungame typing is a pain and having spots on a map that offered this would help. thank you
hi great plugin,~ i have a problem, i do everything right and whe i click the sign always appear :Arena appears to be invalid. the comand savearena runs right, everything is right, why the error?
help pls thanks
TPS drop extremely when playing this game.
Have plenty of other minigames and never had such a problem. Now I have to uninstall Gungame, thats sad.
Command /gungame leaderboards givs me this error: http://pastebin.com/hr690zst
Can you add a feature that allows saving of the level on leaving?
@wolfyrules101
The command is not /gg setmail, it's /gg setmainlobby. You just mistyped it ;)
) У меня этот плагин был на 1.7.2 РО-1 и работал хорошо =) . Но сейчас он не работает, когда я хочу создать новую арену не создать (записать эту команду /gg setmail лобби, и я получаю сообщение об ошибке "/help для справки") .Что делать, скажите мне ?! =(
@ltjim007
Thanks :)
@XeonG8
That'd be quite a huge amount of work, I'll see when I get the time for such an update ;)
Great plugin, works well, I had no problems using it! :) Here is my yt tutorial of how to set it up: https://www.youtube.com/watch?v=L2l6cd-x3vk&list=PLZE5FyXx-5DE_1dAVy_JezhoZd-7B2DZn&index=5
can add a way to have a minigame use a specific levels.yml
different areans use different configs of levels.yml etc
@instancelabs
Thus I will need to use Bungee Cord, but okay.
@divinityintertwined
I think originally it was from COD, but the way this works is like on the original server I know it from that unfortunately somehow dropped from 400 players to like 30-40, that's where I first played it and got the idea from about more than a year ago. In case you wonder, it's MeinPvP.eu, you can join and see for yourself, but the server is not very huge anymore and you'll maybe see 10 players on gungame whereas they had like all 400 back in its days on that gamemode (making it very fun to play!).
It had an interesting map with four islands and bridges to get to and the way you'd try to play it is to get some friends together and "conquer" one of these islands and stay there letting only a new one join your "team" every now and then and hope they don't betray you. And then you'd try to level up by shooting and killing all the others trying to get through the bridge to you, but you had to be aware of vips with full diamond (which you could never really reach through normal levelling) who would pretty much just erase your whole team and your friends and then you'd have to begin from level 0 again. Most fun game I've ever played, pretty much my favourite minigame from all (besides Bedwars, that one's nearly equally cool).
I know there are a few other gungame servers by now which in my opinion aren't as cool as MeinPvP ever was, and maybe there are variations of that game that are really working the same as in COD but I never saw such a server by now. Anyways, I intend to keep that gungame like the original one from MeinPvP :)
Regarding your first question, actually you can only add new levels beyond lv30 but never remove ones to have fewer than 30, also that gamemode is really just pvp that you can join whenever you like and leave whenever you want, so I don't intend on adding a real end for now. There is just a plan on doing an extra minigame version of this in far future as someone else suggested it earlier. :)
Edit: Sorry for the long text. :P
@Floodeer
Not sure why/how I'd do that, just make your own resource pack and set it in the server properties as suggested texture pack.
Could add an option for texture, at least to be optional in the settings.
@instancelabs
that would be nice. also, is there a way to end the game after a person kills someone using the last level weapon? i did some more testing, and i got to level 45 with the game not ending. as well i tried editing the level.yml to only include 10 levels, and after i reloaded the configs, it kept what i changed from lvl's 0-10, but then immediately added all the levels back up to lvl 30. i don't know if that was intentional or not, but seemed like a bug to me. /shrug
and are the players suppose to drop down to lvl 0 weapon when they die? i'm curious mainly cause when i hear "gungame" i think of COD style gungame (which is what drew me here in the first place), and you normally just respawn with what weapon you died with, unless you are knifed. Then you respawn with the previous level weapon. if thats not the case, thats cool. That was more of just a curiousity thing. and the only reason i ask is because you can make a perpetually long long game with 30 levels of weapons. especially with anything that has long range damage and everyone respawning back to lvl 0 weapons.
@divinityintertwined
Oh yeah you can change all levels except the very first one (the wooden sword) that you get when joining. Actually level0 in config is after the first kill (lv 1 ingame), but I can change that in the next version.