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
@benwingert
#
This was fixed by completely removing ThumbsApply and starting again
#
#Sorry I should have looked closer, it is different. Line 161 now instead of 156 in ModuleTimedPromotion. I assume they refer to lines anyway.
Sp3ktr4l
22:23:27 [WARNING] Task of 'ThumbsApply' generated an exception java.lang.ClassCastException: org.bukkit.craftbukkit.CraftOfflinePlayer cannot b e cast to org.bukkit.entity.Player at me.Todkommt.ThumbsApply.modules.ModuleTimedPromotion.onUpdate(ModuleT imedPromotion.java:161) at me.Todkommt.ThumbsApply.ThumbsApply.update(ThumbsApply.java:286) at me.Todkommt.ThumbsApply.ThumbsApply$1.run(ThumbsApply.java:84) at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(C raftScheduler.java:126) at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:520) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:452) at net.minecraft.server.ThreadServerApplication.run(SourceFile:490)
@yannickthiel
maybe try looking like 2 lines above this?
Sorry for the question, but I search on the whole site, but I didn't find how I can set the password... I'm very confused! Can you help me?
@sp3ktr4l
could you post the new error log? the line in code should at least have changed.
@benwingert
Just downloaded the new version ( the new download was a larger file size so I am pretty sure It is different) and unfortunately I am still getting the errors as described below.
Sp3ktr4l
apparently dropbox didnt want to upload the new version... it should be up now, just redownload it.
Hello, I to am receiving the same error. I am defined as "Owner" group in PEX. When I login to my server it displays in game:
You have 1min 0s left until promotion to NewComer You have 19h 10min 0s left until promotion to Member etc etc...
obviously I already outrank all other groups. After 1 minute has passed the console throws this up;
10:41:52 [WARNING] Task of 'ThumbsApply' generated an exception java.lang.ClassCastException: org.bukkit.craftbukkit.CraftOfflinePlayer cannot b e cast to org.bukkit.entity.Player at me.Todkommt.ThumbsApply.modules.ModuleTimedPromotion.onUpdate(ModuleT imedPromotion.java:156) at me.Todkommt.ThumbsApply.ThumbsApply.update(ThumbsApply.java:286) at me.Todkommt.ThumbsApply.ThumbsApply$1.run(ThumbsApply.java:84) at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(C raftScheduler.java:126) at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:520) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:452) at net.minecraft.server.ThreadServerApplication.run(SourceFile:490)
The timers are not counting down either, If I log out and back in its still got the 1 minute on the clock. I ran some tests as a new user. I setup 3 timed promotions 1 minute apart and all 3 worked. I tried the test again while being logged in with a second Minecraft client with my Owner account and as soon as the error occurs the timer stops for the new user and no promotions are processed.
I have had the same result with lots of Bukkit versions and I have the latest version of your thumbsappy and the module.
I hope you can fix this problem as this plugin is exactly what I have been looking for and when it works it is great!
Sp3ktr4l
Exactly same issue here. It happens when a already promoted player enters the server. My setup: CB2060, TA 3.1.2 with latest module. The player in this case was previously promoted manually via PeX.
Regards, John
@iorunner
please redownload moduletimedpromotion
@ssepsey
literally 3 lines above the comment section. look where it says "Any group below Users gets promoted to User after entering the password "default"". That is where you choose a password other than "default"
I am not seeing where you define the pass word or what the password is?
i have two groupswith timed promotion. but when someone gets promoted to the first one, when they type /apply timeleft it says you have {time} until member but i want it to say you have 30h until addicted please fix it
in the permissions section of this bukkit dev it says: group.<groupname>: give the permission to every group, replace then stops? what do i replace it with? numbers?
same error as earlier happened again :(
@benwingert
how can i make it so certain groups dont get promoted via timed promotion but you cant get promoted to these groups. so say i had admins and members. guest get promoted to member after 10 hours but admins do too, which i dont want should this just work automatically? here's my config:
options: chatBlockEnabled: false joinMessageEnabled: false tickDelay: 60000 blockPasswordInChat: true groups: Addicted: '%1800' Member: '%600'
The bugs should be fixed in the most recent version, please redownload ModuleTimedPromotion.
@Digitalink2008
are you using the timed promotion? because thats what i think causes the error
Tested on 1.2.4-R0.1 (Build #02117) without error.
Thanks for the great plugin benwingert :)
Digi