ThumbsApply
Commands | Permissions | Configuration
ThumbsApply is a plugin, that makes life for admins a lot easier. You can not only auto-promote your server guests by letting them enter a password, hidden in the rules. You can also Mute your Guests and show them a special Message on joining the server (both optional, of course). This Plugin supports Permissions 3.x, GroupManager, bPermissions, PermissionsEx and PermissionsBukkit. If you have any errors, please write a ticket with a proper error description and the error console log. Tickets that don't match that format or comments asking about an error will be ignored.
Get the source here: https://github.com/Todkommt/ThumbsApply
The Localization supports the default Minecraft color codes as well as the following variables:
ThumbsApply currently only uses one command:
The only two permissions ThumbsApply uses are:
Here is a default Config with all entries explained: options: <-----General Options chatBlockEnabled: false <------Block Guests from chatting? joinMessageEnabled: true <-------Enable an extra join message for guests? tickDelay: 60000 <-------The delay between two ticks (higher is performance friendlier, but less accurate) blockPasswordInChat: true <-------Block the usage of the password in the chat (by both guests and players)? groups: <------Group configuration User: default <-----Any group below Users gets promoted to User after entering the password "default" Mod: '%1000' <------Any group below Mod gets promoted to Mod after being online for 1000 minutes
ThumbsApply is a plugin, that makes life for admins a lot easier. You can not only auto-promote your server guests by letting them enter a password, hidden in the rules. You can also Mute your Guests and show them a special Message on joining the server (both optional, of course). This Plugin supports Permissions 3.x, GroupManager, bPermissions, PermissionsEx and PermissionsBukkit. If you have any errors, please write a ticket with a proper error description and the error console log. Tickets that don't match that format or comments asking about an error will be ignored.
Get the source here: https://github.com/Todkommt/ThumbsApply
Features:
- Auto-promote Guests on your server
- Mute guests
- Show guests a special MotD
Localization:
The Localization supports the default Minecraft color codes as well as the following variables:
- {player} outputs the player name
- {timeleft} outputs the time until promotion
Modules (for 3.0 beta):
Commands:
ThumbsApply currently only uses one command:
- apply: usage: /apply <password> | description: Enter the password to apply/If timed promotion is enabled it will show the time left.
- apply: usage: /apply timeleft | description: Shows the time left until promotion.
Permissions:
The only two permissions ThumbsApply uses are:
- ThumbsApply.NotGuest: give it to your groups with building rights (required).
- group.<groupname>: give the permission to every group, replace <groupname> with the name of the group you are giving the permission to (e.g. : group.Admin).
Config:
Here is a default Config with all entries explained: options: <-----General Options chatBlockEnabled: false <------Block Guests from chatting? joinMessageEnabled: true <-------Enable an extra join message for guests? tickDelay: 60000 <-------The delay between two ticks (higher is performance friendlier, but less accurate) blockPasswordInChat: true <-------Block the usage of the password in the chat (by both guests and players)? groups: <------Group configuration User: default <-----Any group below Users gets promoted to User after entering the password "default" Mod: '%1000' <------Any group below Mod gets promoted to Mod after being online for 1000 minutes
and in response to that, yes, you have to delete your old config so the new one generates, and then you have to had this to the bottom of it:
groups: worldtopromotein-ranktopromoteto: password OR %time
@matymathew
I get the same error on startup, and it appears this happens everytime someone tries to do the /apply command. I'm going to update the config and see if that helps.
2012-02-18 05:16:48 [SEVERE] null org.bukkit.command.CommandException: Unhandled exception executing command 'apply' in plugin ThumbsApply v2.5.2 at org.bukkit.command.PluginCommand.execute(PluginCommand.java:42) at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:168) at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:402) at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:784) at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:744) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:732) at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:176) at net.minecraft.server.Packet3Chat.handle(Packet3Chat.java:33) at net.minecraft.server.NetworkManager.b(NetworkManager.java:226) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:100) at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:552) at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:78) at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:537) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:435) at net.minecraft.server.ThreadServerApplication.run(SourceFile:465) Caused by: java.lang.NullPointerException at me.Todkommt.ThumbsApply.Phrase.getMessage(Phrase.java:31) at me.Todkommt.ThumbsApply.Phrase.parse(Phrase.java:35) at me.Todkommt.ThumbsApply.ThumbsApply.onCommand(ThumbsApply.java:355) at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40) ... 14 more
2012-02-18 08:35:00 [SEVERE] Error occurred while enabling ThumbsApply v2.5.1 (Is it up to date?): null java.lang.NullPointerException at me.Todkommt.ThumbsApply.ThumbsApply.getGroups(ThumbsApply.java:77) at me.Todkommt.ThumbsApply.ThumbsApply.onEnable(ThumbsApply.java:199) at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:231) at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:1057) at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:379) at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:191) at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:174) at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:357) at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:344) at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:175) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:408) at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
@NeutralStar
if you want to have your users promoted after 5 minutes please use this http://pastebin.com/e2uYTz9q config. if it still doesnt work do the following:
1. set debugMode to "true" in the config
2. delete your server.log (to clear it)
3. restart your server
4. wait a few minutes
5. send me the server.log
Mind posting some more information about how to set it up? I'm trying to use the time based promotion. My config file is http://pastebin.com/fSxMSqmA . I have tried with a tick delay of 1000 which should be every second and the % to be 1 and 5 with no promotion after an hour and a half or so of waiting.
2012-02-14 11:03:44 [INFO] [ThumbsApply] Loading ThumbsApply v2.5.2. 2012-02-14 11:03:44 [SEVERE] Error occurred while enabling ThumbsApply v2.5.2 (Is it up to date?): null java.lang.NullPointerException at me.Todkommt.ThumbsApply.ThumbsApply.getGroups(ThumbsApply.java:77) at me.Todkommt.ThumbsApply.ThumbsApply.onEnable(ThumbsApply.java:199) at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:230) at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:1057) at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:380) at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:199) at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:182) at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:357) at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:344) at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:175) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:408) at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
:-(
@benwingert
In my case am i dealing with an issue of having a depreciated config file then? I did see a response about adding of groups I just assumed that via updating that wouldn't apply as I already had a config in place. :)
my bad.
for all of you three please look at the reply no 43 which is this one:
you havent added any groups yet. put something like this in your config: groups: default: password
edit: here is a default config: http://pastebin.com/3zEATdWv
I just tried to make the jump from 2.3.1 to 2.5.2 and here is the load log.
2012-02-13 10:06:16 [INFO] [ThumbsApply] Loading ThumbsApply v2.5.2. 2012-02-13 10:06:16 [SEVERE] Error occurred while enabling ThumbsApply v2.5.2 (Is it up to date?): null java.lang.NullPointerException at me.Todkommt.ThumbsApply.ThumbsApply.getGroups(ThumbsApply.java:77) at me.Todkommt.ThumbsApply.ThumbsApply.onEnable(ThumbsApply.java:199) at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:231) at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:1057) at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:379) at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:191) at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:174) at org.bukkit.craftbukkit.CraftServer.reload(CraftServer.java:444) at org.bukkit.Bukkit.reload(Bukkit.java:188) at org.bukkit.command.defaults.ReloadCommand.execute(ReloadCommand.java:22) at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:168) at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:386) at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:382) at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:574) at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:551) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:435) at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
@NeutralStar
+1 i got that error too
@benwingert
Sorry, wasn't finding it. Here's the error I found in the log.
2012-02-13 18:00:15 [SEVERE] Error occurred while enabling ThumbsApply v2.5.2 (Is it up to date?): null java.lang.NullPointerException at me.Todkommt.ThumbsApply.ThumbsApply.getGroups(ThumbsApply.java:77) at me.Todkommt.ThumbsApply.ThumbsApply.onEnable(ThumbsApply.java:199) at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:231) at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:1057) at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:379) at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:191) at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:174) at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:357) at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:344) at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:175) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:408) at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
@NeutralStar
if you get "An internal error occurred while attempting to perform this command" theres always an error in the log. i cant find the issue if i dont have an error, really :/
Having problems with this plugin. When I try to use /apply to see how much time is remaining it replies with "An internal error occurred while attempting to perform this command". Nothing is showing up in the terminal. The account using is in the default group which does not have ThumbsApply.NotGuest: true node.
@KoBrA1135
it should work
When you will able to fix the Auto Promotion by time? Its really important to me :/
@chrisandthemike
you havent added any groups yet. put something like this in your config: groups: default: password
edit: here is a default config: http://pastebin.com/3zEATdWv
[INFO] [ThumbsApply] Loading ThumbsApply v2.5.1. 2012-02-08 19:54:35 [SEVERE] Error occurred while enabling ThumbsApply v2.5.1 (Is it up to date?): null java.lang.NullPointerException at me.Todkommt.ThumbsApply.ThumbsApply.getGroups(ThumbsApply.java:77) at me.Todkommt.ThumbsApply.ThumbsApply.onEnable(ThumbsApply.java:199) at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:231) at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:1057) at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:379) at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:191) at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:174) at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:357) at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:344) at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:175) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:408) at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
Mate, Please, update this! We need it so much!!
2012-02-05 22:28:27 [INFO] test123 [/12.34.56.78:65438] logged in with entity id 154 at ([World1] 312.59770967195624, 63.0, 595.9958071673241)
2012-02-05 22:28:27 [SEVERE] Could not pass event org.bukkit.event.player.PlayerJoinEvent to ThumbsApply
java.lang.NullPointerException
at me.Todkommt.ThumbsApply.Messaging.send(Messaging.java:36)
at me.Todkommt.ThumbsApply.listeners.ThumbsApplyPlayerListener.onPlayerJoin(ThumbsApplyPlayerListener.java:34)
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:270)
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:57)
at org.bukkit.plugin.TimedRegisteredListener.callEvent(TimedRegisteredListener.java:30)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:453)
at net.minecraft.server.ServerConfigurationManager.c(ServerConfigurationManager.java:133)
at net.minecraft.server.NetLoginHandler.b(NetLoginHandler.java:121)
at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:87)
at net.minecraft.server.Packet1Login.handle(Packet1Login.java:70)
at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:47)
at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:61)
at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:537)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:435)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
Please, update!
2012-02-05 22:28:27 [INFO] test123 [/12.34.56.78:65438] logged in with entity id 154 at ([World1] 312.59770967195624, 63.0, 595.9958071673241) 2012-02-05 22:28:27 [SEVERE] Could not pass event org.bukkit.event.player.PlayerJoinEvent to ThumbsApply java.lang.NullPointerException at me.Todkommt.ThumbsApply.Messaging.send(Messaging.java:36) at me.Todkommt.ThumbsApply.listeners.ThumbsApplyPlayerListener.onPlayerJoin(ThumbsApplyPlayerListener.java:34) at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:270) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:57) at org.bukkit.plugin.TimedRegisteredListener.callEvent(TimedRegisteredListener.java:30) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:453) at net.minecraft.server.ServerConfigurationManager.c(ServerConfigurationManager.java:133) at net.minecraft.server.NetLoginHandler.b(NetLoginHandler.java:121) at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:87) at net.minecraft.server.Packet1Login.handle(Packet1Login.java:70) at net.minecraft.server.NetworkManager.b(NetworkManager.java:226) at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:47) at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:61) at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:537) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:435) at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
@baemboo
just give them the kit on their first login, they wont be able to use it anyway (since they cant break/place blocks).