ContestAdmin
ContestAdmin is a plugin to manage building contests on your server. Made on request: http:forums.bukkit.org/threads/req-contests-formatted.59420/
Features
- Contest starting/stopping
- Submitting and unsubmitting entries
- Winner promoting
- Banning users from contests
- Easy teleportation for judges between contest entries
Features to discuss
- Reward system
- Un-submitting from stopped contest
Installation
As simple as download JAR and place it in your "plugins" folder.
Commands
There's pretty much of commands, but there's also an in-game help so you don't have to worry if you can't remember them all.
- /ca start <contest name> - Creates a contest with given name
- /ca info <contest name>
- /ca stop <contest name> stops given contest
- /ca sub <contest name> - Submits your selection to given contest
- /ca unsub <contest name> - Unsubmits your contest entry
- /ca tp <contest name> - Teleports you to your entry in given contest
- /ca tp <contest name> <player name> - Teleports you to player's creation in given contest
- /ca remove <contest name> <player name> - Removes specified player's entry from contest. Note this will not prevent the player from re-submitting the entry. To prevent it, you must ban him from contest, or stop the contest.
- /ca tpord <contest name> - Starts tping you to entries in specific contest in order(no need to enter player's name)
- /ca purge <contest name> - Removes data about specified contest
- /ca purge confirm - Confirms deletion of the data
- /ca win <contest name> <player> - Promotes winner of given contest
- /ca mod <contest name> <property> <value> - Changes property of given contest (check page 'Contest Properties' this command is trickier than you think ;) )
- /ca list - Lists on-going contests(blue = already took part in | green = can take part in | red = can't take part in)
- /ca who <contest name> - Lists all players who took part in specified contest
Permissions
In the current state, ContestAdmin only supports SuperPerms, which satisfy most of bigger servers, but I'm also working on OP permissions or None permissions for smaller servers. Every player who can use contest admin needs permission ca.ca
Permission nodes
There's a permission node for each of these commands so you have full freedom of setting up permissions.
- ca.start - Allows /ca start
- ca.info - Allows /ca info
- ca.stop - Allows /ca stop
- ...
- ca.tpmy - Allows /ca tp <contest name>
- ca.tp - Allows /ca tp <contest name> <player name>
- ca.purge - Allows /ca purge <contest name> and /ca purge confirm
Tutorials & Examples
TO-DO
- Max amount of players per contest
- Automatic contest closing after certain time
- Entering contest without submitting entry(something like placeholder or so)
- "Contest world" - world with plots of configurable size, which players join and they will be teleported to a free plot, where they can build entries
- Builder teams
- Voting for winner(configurable)
- Custom messages(+ localisation)
- Automatic rewarding
- Anything you wish :)
Source
Source code is available at github -> https:github.com/tomsik68/ContestAdmin
Contact Author
If you wish to contact author somewhere else, you can do so on:
- Blog: http://tomsik68.blogspot.com/
- Twitter: https://twitter.com/tomsik68
- E-Mail: [email protected]
- GitHub: https://github.com/tomsik68 (also, sources of all plugins!)
- Skype: Tomsik68 (my pic is redstone dust ;) )
Oh man, so here I was adding permissions, when I noticed that it says this plugin only supports SuperPerms ><. I have GroupManager and Permissions :/. If you could at least do no permissions like you said, and allow for everyone except Op to have:
ca tp, ca info, ca list, ca sub, and ca unsub.
Hey, so I'm going to try and help you out with feedback, I like this plugin, it makes my life easier. I'm trying to add a contest by the name "Modern Home", but it won't register, I'm guessing it's because there is a 2 word name. Only being able to use one word limits me a lot. Also, it would be cool to be able to add a short description to each contest, this would also (hopefully) allow me to add a link instead, that would take the user to the event's full description on our website. Anyway, I know this stuff is not easy, but would be awesome to see this plugin used by everyone so here's my feedback :).
<<reply 805835="">>
Awesome, thanks! Going to try it right now.
@FordRacer2007
Ok, working on configurable colors... :)
<<reply 805700="">>
Oh wow, yeah, but the colors depends on the servers. I have certain colors for certain things, for example, light green I use for important broadcasting messages. If you could make the colors customizable, it would be better in the long run for servers. But thanks for letting me suggest, so I personally would like it to be green/purple for the broadcasted messages.
@FordRacer2007
Hey, that's not an arror. That's just a warning and you don't have to care about it. It's just something around database. I'm already working on it, but can't decide which color or colors should I use. Have you got any suggestions? :D
Hi, thanks for the plugin. It works great so far. I am however getting the following error.
03:55:32 CONSOLE: [SEVERE] ebean.properties not found
03:55:32 CONSOLE: [INFO] DataSourcePool [ContestAdmin] autoCommit[false] transIsolation[SERIALIZABLE] min[2] max[20]
03:55:32 CONSOLE: [INFO] SubClassFactory parent ClassLoader [org.bukkit.plugin.java.PluginClassLoader]
03:55:32 CONSOLE: [WARNING] Bean [sk.tomsik68.contestadmn.ContestEntry] has no unique id set
Also, can you please color code the messages :).
@tomsik68
thats why? lol. Thanks for the help. I just downloaded java though yesterday. I created a small server at home to test plugins on b4 they went to my public server. Weird. Thanks anyway.
@kyledag500
Just uploaded 0.11, which is awaiting approval. 0.11 contains changes to work under Java 6.
@kyledag500
The plugin is built forJava 7 (which is now officially stable version of java). I'll rebuild the plugin for 6, but It's anyway recommended you install 7.
My error log, from my console. It wont even let me do any commands ingame. http://pastie.org/4215636
@Markj2 @kyledag500 @FordRacer2007 Everyone, paste the error log to dev.bukkit.org/paste , pastie.org or pastebin.com or similar service and post the link here. Edit: Also post what commands you used before the problem occured (if any)
should i post the log here? cause i'm not sure
It gives me an error in the console, and doesnt make a folder!
i think i'm having the same problem as FordRacer2007 cause that's whats happening to me with the latest version
@FordRacer2007
You're probably using the alpha version. The alpha version contains a lot of exploits and bugs, which were solved in beta. Try downloading the beta. If you're using beta, you should post the error's stack trace here, so I'll look at it and fix it. Preferably, wait for the release.
I uploaded, restarted server, it shows up on my plugins list in my McMyAdmin 2 panel, but the plugin does not work at all. It also doesn't show when I do /pl.