Hunger Games Generator
Hunger Games Map Generator Server v1.1
This is a typical Hunger Games / Survival Games plugin with a special feature of regenerating arenas using the Hunger Games Map Generator. This means every arena is different from the last, with different treasure in different locations!
If you find a bug while testing this plugin, please post a ticket.
Also, please upvote this ticket so future versions of this plugin can be more stable.
Lastly, since 1.6.2 I haven't been able to test the server because I can't play offline as an un-named player, if you have an account you don't mind me using occasionally, please PM me (you can change your password until I'm done testing).
Special Features
- Multi-world support with arena regeneration.
- Highly configurable:
- Language files
- Per-Arena configurations
- Customizable terrain generation
- Custom commands can be run during game events.
- Optional automatic features such as:
- Auto-open and close arenas as the number of online players changes.
- Auto-start an arena when full.
- Auto-join an arena after logging in.
- Auto-start an arena if no new players are joining after some time.
- Auto-start an arena if enough players vote for it to start.
- Auto-regeneration of arena after game is over.
- Auto-spectate after a player dies.
- Auto-teleport players to the center if a game runs on too long.
- Auto-end a game if a game really goes on too long.
- Fun optional extras:
- Compasses will point to nearest tribute.
- Clicking signs to join an arena.
- Clicking signs to see players in arena and teleport to them.
- Advanced sponsoring selection system.
- Statistic logging for wins, losses, kills and games.
- Arena setup for custom maps not regenerated with HGMG.
- Low-interference code allows you to play normally when not in an arena.
Not Featured
- Terrain roll-back (use the random map generator to get new maps!)
- Chest refill (again, random map generator gives you new maps with refilled chests)
- Block protection (use a plugin designed for block whitelists/blacklists, I use PermissionsEx)
- World management (use a plugin designed for modifying world properties such as mob spawning, I use Modifyworld)
- Special support for other plugins (should be compatible with most other plugins anyway though)
Quick-Access Menu
Having a Problem?
- Browse the FAQ
- Browse the tickets list for a similar bug or problem.
- Post a ticket if you've found a new bug or post a comment if you are still having trouble.
Want to Contact Me?
- For server review requests, please post on the Recommended Servers page.
- For questions or comments unrelated to this plugin, send me a PM
- If you are filming a mod review or demo game of this plugin, I'd be happy to drop by and be a part of the review. Send a PM for these requests and we can try to find a time to chat.
i have chosen a different plugin becouse i am not running a hunger games server i am running a factions server with and extra world where ppl can do hunger games IF they want
i deleted this plugin after it overwrote my overworld :P (yea i know it was my mistake but i made backups)
now i just use the generator to generate a world after i place it in a safe folder and then i just move the mapfolder to server folder
How do i Create the Join A Game by clicking a sign
@darkracer125
You don't get teleported until the game actually starts, joining just marks you down for being in the game when it does start. That way, you don't have to sit in the arena waiting for everyone else to join in.
@timsavage
Ok I see what you needed. I'll add the lines of code to the writer to make sure it puts the new world files in the right place.
i just downloaded the plugin and generated an arena ingame .. answerd the questions correctly the area got generated . BUT when i type /hg join test (i named the arena test) it then says "joined game in arena test" but it does not teleport me there .. did i do something wrong or how do i set this up how do i use it
Oh, no, nothing like that. It's just that I have all of my worlds in a subdirectory of the bukkit base directory. This is defined in the bukkit.yml settings as "world-container". I've got mine set to 'Worlds'. Then that directory contains just the individual directories for each world.
I just found it easier to keep all of the worlds in a directory of their own, and separate from the other various bukkit files and directories. It makes things slightly cleaner in the base directory, and facilitates easier world backups.
And since bukkit provides the method to get the path, those that keep the default will not be affected, but those that do customize their world container directory can keep their setup, too. I'm actually a little surprised that more people haven't discovered this bukkit feature.
edit: When I first tried out 1.0 of your plugin, it was hardcoded to the bukkit base directory, so I ended up downloading the source, and adding the two lines in my earlier post to get it working. That's all I was trying to clarify, is if it had changed since then to use the user defined world-container.
edit2: Ok, just fired up my test server to check this out. When I use the /hg arena regen command, the world still gets created in the bukkit base directory, and not the directory defined by the world-container setting in the bukkit.yml file.
Re-release of 1.1pre is taking more time than expected since I keep getting rejections. Hang in there!
@timsavage
I'm confused why you prepend the Bukkit world container path to the relative world path in the config. I guess what I was thinking you wanted was the ability to choose any path for each world.
Like arena1 is located at "hgarenas/arena1" or something and arena2 is in "C:/somefolder/arena2" or something like that. I have added the ability to set a custom path in the arena creation (ex: "hgarenas/arena1"), but when I create the world with Bukkit's WorldCreator to make the world, it defaults to Bukkit's world container path + the world name (ex: "arena1").
@skaterzero807
Actually, there is a bukkit method for fetching the world folder location, so nothing would need to be changed in the config file; you can simply prepend the result of this function call to the simple world name that is in the config. Something like this in your worldWriter function:
That's what I did to make it work in the 1.0 source.
@dsb1010
You create a new arena and choose the world name to be something like "world_MyArena". When you regen the arena, the new world is deleted, updated and reloaded. You don't really need Multiworld for anything other than managing the pvp, mob spawning, etc for that world.
@Madminor
You can try to leave the 1024 part out, or change to 512 or so, but it might be slow or give you the "out of memory" error when trying to make a map.
I use MultiWorld, and it says this plugin has multiple world support, so what generator do I use to create a new world with the Hunger Games Map Generator?
we only have 1/2 a GB of ram, but in the http://dev.bukkit.org/bukkit-plugins/hunger-games-map-generator-serve/pages/setup/regeneration/ page, you should change it to 1024? would i still be able to run it?
@Dudemister1999
What command are you running when it says it doesn't exist?
EDITED
So I have the map generated, and the config ready, and guess what? It says it does not exist xP
Sorry all, I changed the documentation and uploaded 1.1 prerelease a week ago, but for whatever reason it was rejected. I'm re-uploading now, hopefully that should fix some problems.
@broluigi
Yes, if you use the command feature you can give players items or run any number of commands on certain events such as a player winning. See the "Event Commands" section of this page.
@deleted_6946493
Are you definitely running 1.1 prerelease? Also, do any error messages show up in the console?
@timsavage
No, I think the world names only work for world folders inside the bukkit folder, but I'll try to come up with a way to choose a custom path without ruining the simplicity of specifying a world name.
@BlackJar72
In v1.1, they come with the plugin and are automatically unpacked into a folder in the HGMGS config folder.