TSGMod
Welcome To TSGMod
The Hunger Games was both a great book, and a decent movie (though it did fall short of the book, but what movie doesn't?), so I've (with a lot of help from others) put together a plugin that tries to replicate that experience. It is nowhere near done, but what I have so far is playable, and you can hopefully see where I intend this to go.

The Simple Game:
/tsg start hg <time in seconds>: Starts a game /tsg start hg 120
/tsg join: Join the started game
/tsg sign: Place a sign, enter this command, then click it
The Config:
devtag: Whether or not I get a little [TSGDev] tag with my name when I join your server
award_prizes: Whether or not to give players prizes if they win
clearplayerinventory: Whether or not players should have to have an empy inventory to join (not enabled)
can_build: Whether building in the game world is blocked or not
build_walls: Whether to limit the arena size or not
immune_period: How long players are immune at the start of the games
arena_size: Size of the arena per player, +50, +100, +150 respectively
use_economy: Whether or not to pay players for wins/bets/sponsorships with economy money (not enabled)
sponsor_money_item: Item that represents money if not economy (not enabled)
money_name: What the plugin should call the currency in its player messages (not enabled)
sponsor_cost_multiplier: By how much the sponsor should be upcharged (not enabled)
allowed_sponsor_items: Items allowed to be sent to players from sponsors (not enabled)
remove-op: Whether or not to de-op players in the games if they're op, op status is re-added after the games.
If you PM me I can show you the games in action on a test server, sometimes.
SCREENSHOTS COMING SOON
-
View User Profile
-
Send Message
Posted Jun 22, 2012@zachbora No, I can't pass the player, as the player is not exploding. It's just an empty explosion, here is the documentation: http://jd.bukkit.org/doxygen/dd/daa/interfaceorg_1_1bukkit_1_1World.html#ab3acec4dac70720c67b91b56ccb9b038
-
View User Profile
-
Send Message
Posted Jun 22, 2012@Richardred15
This createExplosion function what does it do exactly, does it have an entity? I'm guessing it is making an explosion without an entity just for the effect. I don't know much about your plugin but maybe you could pass the player as the entity that explodes?
The worst in all this is that I don't even need to listen to explosions in the world TSG, I'm actually just using the entity to see in which world the explosion happened and if it's in a world of my plugin I cancel it.
I really wish we could set events Per World/Player/Block/etc. instead of ALL instances of that type.
-
View User Profile
-
Send Message
Posted Jun 22, 2012@zachbora I think that's being caused by Bukkit not properly handling an explosion of size 0, as here is the line of code that the error occurs on:
Main.gameWorld.createExplosion(p.getLocation().add(0, 5, 0), 0F);
It's not something I can exactly fix either. Sorry you have to deal with my plugin, I know what it's like, 0.6.0 will have lots of stuff that deals with other plugin's doings.
-
View User Profile
-
Send Message
Posted Jun 22, 2012broluigi complained to me about a bug caused by a conflict with your plugin. Apparently I am catching an EntityExplodeEvent with a null entity and the event isn't cancelled. From his pastebin it seems caused by an entity getting removed.
I'll add in my plugin a check for null entity (which shouldn't happen in the first place) but you should check in your plugin if you can cancel that event that gets raised.
http://pastebin.com/xYsvBCCb
-
View User Profile
-
Send Message
Posted Jun 21, 2012@broluigi Also, I went onto your server to check it out, and the WorldEditCUI data post got me temp banned for spamming. >:(
-
View User Profile
-
Send Message
Posted Jun 21, 2012@broluigi Right now the money is 50% of any money spent sponsoring the player. In the next update you'll be able to set a base amount in the config. The next update should be coming soon, at the latest Saturday/Sunday.
-
View User Profile
-
Send Message
Posted Jun 21, 2012This plugin is just awsome! Thanks so much making this! But how do we add money gained after the match? I want players to win at least 100 dollars for winning (iconomy)
-
View User Profile
-
Send Message
Posted Jun 21, 2012@Battelman2
@Richardred15
Although I would like to get an option client mod for this eventually, maybe with a GUI for chat directions, a game list, stuff like that. But that's so low priority, it's not even being planned right now.
-
View User Profile
-
Send Message
Posted Jun 20, 2012@Battelman2 It's a plugin, no client mod is need.
-
View User Profile
-
Send Message
Posted Jun 20, 2012Is this a plugin or a mod, do the players have to get a mod to run this? Sorry if that is a dumb question but I can't tell... :P
-
View User Profile
-
Send Message
Posted Jun 20, 2012Okay I sent a request... we can help you testing if you like...
-
View User Profile
-
Send Message
Posted Jun 20, 2012Could you add a compass so we can find people in the next release? Thanks :D ______________ MC.cobraminecraft.com [==PvP Surival, HG, MobArena, CTF==]
-
View User Profile
-
Send Message
Posted Jun 19, 2012@ArmadylFlok
Yes, my Skype name, as well as my everything ever username, is richardred15.
-
View User Profile
-
Send Message
Posted Jun 19, 2012Okay... my friends have a few things to say to you... do have a skype or something?
-
View User Profile
-
Send Message
Posted Jun 19, 2012@ArmadylFlok I see. Factions doesn't play nice, it seems. It should be ok with with way I manipulate chat, but apparently not. I'll do a bunch of work with Factions compatibility in the next update.
-
View User Profile
-
Send Message
Posted Jun 19, 2012No it removed the tag of EVERYONE on the server... like the people not in the games.
-
View User Profile
-
Send Message
Posted Jun 19, 2012@ArmadylFlok The tag removal is a feature, and should happen. Not being able to hurt others, that I'll have to fix. It will be fixed in the next update, which should come in the next couple of days.
-
View User Profile
-
Send Message
Posted Jun 19, 2012@Richardred15
Okay my issue with factions was that if you joined the game with members of your faction you can't hurt them and all of the faction tags get removed while the game is in progress and when it ends they come back... And thanks for taking in consideration to make the chests editable! It will make your plugin amazing once it gets added!
-
View User Profile
-
Send Message
Posted Jun 19, 2012@ArmadylFlok
It is compatible with factions, unless you've run into an issue with it, if you have, tell me about it. For now you can't modify what spawns in the chests, that will change soon. I recommend you get some equipment then run, and fully equip yourself from houses around the map, that is if you don't have the diamond sword. If you do have it, well...
-
View User Profile
-
Send Message
Posted Jun 19, 2012@Richardred15
Also could you make this compatible with the faction plugin?