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
@TheJuggernaut0
when you first load it doesnt type in some config commands like /tsg save and reboot the config file will be there
@h3nry110
Yes, the latest version here on BukkitDev has some problems generating the config.yml in the TSGMod folder. It has been fixed and will be in the next release. To solve the problem, try reloading your server again.
First, this plugin SOUNDS nice.
But I can't install it. Is there ANY tutorial etc. for how to install it? I just - like in other plugins - put the .jar faile into the plugins folder, but i get errors when i start the server and there are only 2 folders: "PluginMetrics" and "TSGMod", but in the folders there is only config.yml, which contains just some information for mcstats.org and an update folder with a text document with "050" in it.
Any ideas for solving the problem?
Here are the errors from the console:
17:51:19 [SCHWERWIEGEND] java.lang.NullPointerException 17:51:19 [SCHWERWIEGEND] at com.collisio.minecraft.tsgmod.YMLReader.loadY ML(YMLReader.java:75) 17:51:19 [SCHWERWIEGEND] at com.collisio.minecraft.tsgmod.Main.onEnable(M ain.java:152) 17:51:19 [SCHWERWIEGEND] at org.bukkit.plugin.java.JavaPlugin.setEnabled( JavaPlugin.java:215) 17:51:19 [SCHWERWIEGEND] at org.bukkit.plugin.java.JavaPluginLoader.enabl ePlugin(JavaPluginLoader.java:337) 17:51:19 [SCHWERWIEGEND] at org.bukkit.plugin.SimplePluginManager.enableP lugin(SimplePluginManager.java:381) 17:51:19 [SCHWERWIEGEND] at org.bukkit.craftbukkit.CraftServer.loadPlugin (CraftServer.java:256) 17:51:19 [SCHWERWIEGEND] at org.bukkit.craftbukkit.CraftServer.enablePlug ins(CraftServer.java:238) 17:51:19 [SCHWERWIEGEND] at net.minecraft.server.MinecraftServer.t(Minecr aftServer.java:381) 17:51:19 [SCHWERWIEGEND] at net.minecraft.server.MinecraftServer.a(Minecr aftServer.java:368) 17:51:19 [SCHWERWIEGEND] at net.minecraft.server.MinecraftServer.init(Min ecraftServer.java:197) 17:51:19 [SCHWERWIEGEND] at net.minecraft.server.MinecraftServer.run(Mine craftServer.java:432) 17:51:19 [SCHWERWIEGEND] at net.minecraft.server.ThreadServerApplication. run(SourceFile:492)
Sorry, it's some german in it ^^
Hope, there are not too much mistakes, I'm German
Thanks in advance
Henry
@artdude543 Thank you! We have plans for a web interface, including us hosting a global leader board, so you can see scores and wins from every server that uses TSGMod.
A suggestion for a future update, could be adding a "Web Interface" for high scores and other information. Also this plugin is awesome :D
@broluigi Did the error affect the game at all? It looks like it was just somebody typo'd a command, and I failed to add a check for that. Is your server running the Alpha release, or the Bukkit Dev beta?
I have seen this error when the games began to start
@nolam20 An explosion goes off whenever a player dies, and I'm pretty sure an explosion comes from a cannon, not lightning. I will add a config option for the cannon type later, though.
Can you make it so that a cannon (lightning) goes off whenever a player dies?
@Alejandrominecraft I was actually thinking about that the other day. I think it's a good idea, and I will get to work on it.
Can you make an update which includes language translations? Thaks in advance :)
@ravand As I said, the custom maps will be a future feature, because we have to create an API for it, otherwise it won't be very good, and will basically be a waste of time. Please be patient, and give the default maps a try, they're good!
cant i use custom maps with this plugin? i tried /tsg announce 30 MAP nogen but it still deletes my custom world and generates a new 1?
How can i use the custom map?
ive use /tsg gen command and is it supposed to make a world like the one above or just a regular world because it justs makes a regualr world
That command only makes a regular world.
@allenshchang Well, that's a huge mistake on my part. The sponsor stuff has been in for a few version, but I've made it so it only works on my server, for testing reasons. Apparently I didn't unlock it for full release, and for some reason nobody has reported this before. The issue will be fixed in the next update (going to be released today or tomorrow).
Hello, when I try to use sponsor command, it shows "Coming in version 2."
does this mean sponsor function still not included?
I'm using v0.5.1, and I am not sure this will help or not but here is my config file:
config: devtag: true award_prizes: true clearplayerinventory: true can_build: true build_walls: true immune_period: 10 arena_size: medium use_economy: false sponsor_money_item: 1334:1 sponsor_cost_multiplier: 1 currency_name: silver team_mode: false allowed_sponsor_items: - 264 0.025 - 265 0.1 - 266 0.05 - 17 4.0 - 4 2.0 - 49 0.2 - 50 8.0 - 325 0.1 - 260 0.25 - 263 1.0 - 297 0.2 - 298 0.2 - 299 0.2 - 300 0.2 - 301 0.2 - 326 0.1 - 327 0.05 - 262 4.0 - 320 0.125 - 322 0.05 - 331 0.2 - 335 0.25 - 350 0.2 - 364 0.125 - 366 0.2
@zachbora Heh, yay for simple fixes!
@Richardred15
Ok, so I missed the part where EntityExplodeEvent does not only have a .getEntity(), there's also a .getLocation(), I'll just use that and all my problems are solved.
@Richardred15
Ok, I'll look up bukkit's code and might submit them a ticket. An empty explosion shouldn't be firing EntityExplodeEvents.