Inactive [ADMN] ThumbsApply v3.1.1 - Mute Guests and Auto-Promote them [1.2.3-R0.1]

Discussion in 'Inactive/Unsupported Plugins' started by TOdkommt, Sep 11, 2011.

  1. Offline

    TOdkommt

    ThumbsApply - The Auto-Application Plugin:
    Version: v3.1.2
    Tested Builds: #2034 (1.2.3-R0.1)

    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 or by setting a certain time they have to be online.
    You can also Mute your Guests and show them a special Message on joining the server if you want. This Plugin supports Permissions 3.x, GroupManager, PermissionsEx, bPermissions and PermissionsBukkit.

    Bukkit Dev Page (Updates slower due to file approval): Click here

    by Todkommt

    Features:
    * Auto-promote Guests on your server
    * Mute guests
    * Show guests a special MotD
    * Fully customizable player messages
    * Supports per world promotion
    * Supports most common permissions plugins
    * Modular structure, you can download only the modules that you need
    * Promotion through password or after a certain time
    * Logs all promotions

    Donations:
    I put a lot of effort and time into this plugin, in which I don't get paid. If you enjoy this plugin, feel free to donate here if you want. The money will be directly referred to my minecraft server.

    Commands:

    * apply: | usage: /apply <password> | description: Promotes the player if the password is correct.
    * apply: | usage: /apply timeleft (if you have a group with MethodTimedPromotion) | description: Returns you the time left until promotion.

    Permissions:

    * 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. This is to handle group management in permissions plugins that don't support that natively.


    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


    Localization:

    3.0+ variables:
    * {player} outputs the player name
    * {group} outputs the group name
    * {password} outputs the password (only available with password promotion)
    * {time} outputs the time left until promotion (only available with timed promotion)


    Show Spoiler
    v2.1 or later:
    Just edit the file "localization.yml" made in /plugins/ThumbsApply/localization to your likes. DO NOT remove any single quotes. The $0 in JOIN_MESSAGE_PASSWORD and JOIN_MESSAGE_TIME represents the player name, the $1 in JOIN_MESSAGE_TIME represents the time the player has left until he gets promoted. The $0 in TIME_TO_GO_CHAT represents the time the player has left until he gets promoted.

    v2.4 or later:
    The Localization supports the standard Minecraft color codes as well as the following variables:
    * {player} outputs the player name
    * Temporarily removed: {timeleft} outputs the time left until promotion



    Downloads:

    Newest:
    Multi-Permissions Version:
    <Edit by Moderator: Redacted bit url>

    Modules (for v3.x):
    * ModuleTimedPromotion


    Show Spoiler
    Version 2.5.2:
    Multi-Permissions Version:
    Download | Source
    CraftBukkit 1240+:
    Permissions Version:
    Download | Source
    PermissionsEx Version:
    Download | Source
    Superperms/PermissionsBukkit Version:
    Download | Source


    Older:
    Permissions Version:
    Download | Source
    PermissionsEx Version:
    Download | Source
    Superperms/PermissionsBukkit Version:
    Download | Source
    GroupManager Version:
    Download | Source



    TODO:
    * Localization Files
    * Timed Promotion
    * Your requested features

    Feel free to suggest new features, or send in bug reports.


    Servers that use this plugin (feel free to post you server in the thread so i can add it):
    * www.OreCraft.org
    * www.Pr3datorCraft.com
    * www.coolioserver.net
    * roycraft.zapto.org
    * www.minecraft-spielplatz.de
    * www.famousserver.de
    * heroiccraft.com
    * lemoncraft.com
    * www.NeroCraft.com
    * zeoldcraft.com

    Changelog:

    Version 3.1.2
    * Final fix for localizations (haha, saying that since 4 versions)

    Version 3.1.1b
    * Minor fix for localizations (again >.<)

    Version 3.1.1a
    * Minor fix for localizations
    * Fix for join messages

    Version 3.1.1
    * Minor fix for localizations

    Version 3.1
    * Localizations now work
    * Added command to see the time remaining until promotion
    * Added log file

    Version 3.0.3
    * Declared as public release
    * Added save files for ModuleTimedPromotion
    * Added option to hide password in chat

    Version 3.0.1 beta
    * Added generated group defaults.
    * Added error message when no groups are present (to prevent that ugly NullPointer)

    Version 3.0 beta
    * Revisited the code, rewrote the main class from scratch
    * Modular version of the plugin.
    * Save of time for promotion not implemented yet
    * Relatively stable, but please give me feedback on any bugs.


    Show Spoiler
    Version 2.5.2
    * GroupManager now supports per world promotion.

    Version 2.5.1
    * Added bPermissions support.

    Version 2.5
    * Temporarily removed the {timeleft} and {togroup} localization vars due to bugs
    * Added per world group support (doesn't work with PermissionsBukkit or GroupManager)
    * Added debug mode to give more information on errors

    Version 2.4.2-2.4.4
    * Serveral small technical fixes. Check the BukkitDev page for more information.

    Version 2.4.1
    * Added Configuration reload command

    Version 2.4
    * Redid the localization variable system. More info in the Localization section.

    Version 2.3

    * Added thread restart command to debug the plugin
    * Added message with time until promotion when a player chats with chatblock and timedPromotion enabled

    Version 2.2

    * Added timed promotion

    Version 2.1

    * Added Localization
    * FIX: 2 Checks on command execution were missing

    Version 2.0

    * Updated for CB1597 (1.0.1-R1)
    * Complete Revamp of the plugin, removed serveral unnessessary features and completely rewrote the code to make it more extendable
    * Multi-Permissions Version for all common permission plugins



    Show Spoiler
    Version 1.5
    * Updated for CraftBukkit 1337
    * Combined all single version to one jar (without GroupManager by now)

    Version 1.4


    * Added GroupManager support
    * Added an option to promote users after a certain time (doesn't work with Doublegroups)

    Version 1.3


    * Added Support for multiple group promoting (depending on the entered password)

    Version 1.2


    * Added localization files
    * Added option for custom command (you have to delete the old config to get the new option)

    Version 1.1.1


    * Fixed a code mistake, that made the chatblockenabled option useless (only Permissions and Superperms Version)
    * Wrote permission node down in the plugin.yml

    Version 1.1


    * Adding PermissionsEx Support
    * Changing to check per Permission node (fix for the problems with Bukkit #1091+)

    Version 1.0


    * Releasing ThumbsApply
     
    Last edited by a moderator: Feb 21, 2017
  2. Offline

    TOdkommt

    its out already
     
  3. Offline

    Averus

    Code:
    [SEVERE] Could not pass event PLAYER_JOIN to ThumbsApply
    java.util.regex.PatternSyntaxException: Illegal repetition
    {player}
        at java.util.regex.Pattern.error(Unknown Source)
        at java.util.regex.Pattern.closure(Unknown Source)
        at java.util.regex.Pattern.sequence(Unknown Source)
        at java.util.regex.Pattern.expr(Unknown Source)
        at java.util.regex.Pattern.compile(Unknown Source)
        at java.util.regex.Pattern.<init>(Unknown Source)
        at java.util.regex.Pattern.compile(Unknown Source)
        at java.lang.String.replaceAll(Unknown Source)
        at me.Todkommt.ThumbsApply.Messaging.send(Messaging.java:33)
        at me.Todkommt.ThumbsApply.listeners.ThumbsApplyPlayerListener.onPlayerJoin(ThumbsApplyPlayerListener.java:43)
        at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:265)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339)
        at net.minecraft.server.ServerConfigurationManager.c(ServerConfigurationManager.java:129)
        at net.minecraft.server.NetLoginHandler.b(NetLoginHandler.java:113)
        at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:80)
        at net.minecraft.server.Packet1Login.a(SourceFile:59)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
        at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:46)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:94)
        at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:533)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:431)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
    http://dev.bukkit.org/server-mods/nolagg/pages/synchronized-code-access-nolagg/
    fix plz

    Code:
    [SEVERE] Could not load 'plugins\ThumbsApply2.jar' in folder 'plugins': Vault
    org.bukkit.plugin.UnknownDependencyException: Vault
        at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:135)
        at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:215)
        at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:136)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:152)
        at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:128)
        at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigurationManager.java:52)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:148)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:402)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 19, 2016
  4. Offline

    baem

    ive got the same error like averus
     
  5. Offline

    kyle0440

    My server is not generating any config files... I'm using the Dev version of bukkit for 1.1
     
  6. Offline

    baem

    averus server log belongs to your (our) prob, kyle
     
  7. Offline

    rayden1050

    Hab das selbe Problem ... woran kann das liegen?
    Da hab ich extra so lang für ein derartiges plugin gesucht und dann wills nicht funktionieren verdammt :D
    bitte schau ob du das hin bekommst und ein großes danke das du son tolles plugin gemacht hast ;)
     
  8. Offline

    TOdkommt

    crap i dont know how that dependency got in my plugin.yml >.< uploading a correct version now

    edit: hmm thats weird. just looked into my plugin.yml and there isnt the dependency anywhere :confused: might have overwritten the file with another plugin accidentally, ill recompile and upload again.

    yep, was the wrong plugin. the right one is up now.

    please use the most recent version. i uploaded a fix for that without updating the change log.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 19, 2016
  9. Offline

    Averus

    Code:
    [SEVERE] Error occurred while enabling ThumbsApply v2.4.1 (Is it up to date?): special characters are not allowed
    unacceptable character '?' (0xFFFD) special characters are not allowed
    in "<string>", position 67
        at org.yaml.snakeyaml.reader.StreamReader.checkPrintable(StreamReader.java:70)
        at org.yaml.snakeyaml.reader.StreamReader.<init>(StreamReader.java:50)
        at org.yaml.snakeyaml.Yaml.load(Yaml.java:399)
    plz let us localise it

    Code:
    [SEVERE] Could not pass event PLAYER_CHAT to ThumbsApply
    java.lang.NullPointerException
    dont work with NOlagg
    http://dev.bukkit.org/server-mods/nolagg/pages/synchronized-code-access-nolagg/

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 19, 2016
  10. Offline

    Cook13s

    Let me start by saying what you are doing is awesome work. Okay, I have been using your plugin for about a week, and it's great, what I was hoping to know is if you have a way of promoting someone from a lower level to higher level of access, it doesn't necessarily have to be from guest to non-guest. For example, I have Guests who cannot build but after 30 mins are promoted to Regular Player, which have build/use, but I have another group of players who are VIP that have spent at least 4 months on the server that have much more access then regular players. Could I do that right now? If not, might you take it as a suggestion.
     
  11. Offline

    baem

    thx for your fast update
    promotion process works but it doesnt say you got promoted, instead it says an internal error occured..

    thats what i logged:

    Code:
    2012-01-18 22:36:55 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'apply' in plugin ThumbsApply v2.4.1
        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:385)
        at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:777)
        at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:737)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:725)
        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 net.minecraft.server.NetworkListenThread.a(SourceFile:108)
        at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:536)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:434)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
    Caused by: java.lang.NullPointerException
        at me.Todkommt.ThumbsApply.Messaging.send(Messaging.java:34)
        at me.Todkommt.ThumbsApply.ThumbsApply.onCommand(ThumbsApply.java:179)
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40)
        ... 12 more
     
  12. Offline

    aviator14

    By 2 groups does this still mean Guest vs Builder for example? I'm trying to figure out a way to make it so that new players have to enter a password to be able to speak and build, but also after a certain number of playing hours get automatically promoted to a higher rank.
    What I mean is Guest + reading the rules = Builder + 15 hours gameplay = Veteran
     
  13. Offline

    TOdkommt

    put the message in single quotes, it should work.

    fix is up on the thread, wont upload it to bukkitdev for now.

    that feature was removed in 2.0, im currently making a plugin that covers exactly that.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 19, 2016
  14. Offline

    Averus

  15. Offline

    TOdkommt

    ohh... i think you have to change the yaml format to unicode, its written in ansii... or something like that. i have literally no idea how that works, just google it.

    edit: to kinda prove my point: thats what I see when i open the dropbox file:
    Usa ßßßß ÿûâûâ âûàï ûâà ï /apply password
    so not the russian (?) letters from your screenshot.
     
  16. Offline

    Kozzy68

    Is there chance getting this work from other specified group other than default ? like AutoPromo plugin that is now dead and there is no replacement.

    Th.
     
  17. Offline

    Averus

    i see the same if go to link, but if you download it and open youll see the rus letters
     
  18. Offline

    WolfCub

    Im using plain permissions and when the user types in /apply password it places them into the group specified in the config but does not remove them from the group they are currently in.
     
  19. Offline

    TOdkommt

    it should. i execute the command to remove them from their old group. are you using the most recent version?

    i really dont know anything about that, i have never tried to use russian letters in my configs :p

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 19, 2016
  20. Offline

    Kozzy68

    Thanks Im looking forward to that also. To be able to configure group from which we like to promote. Not only default.
     
  21. Offline

    Musaddict

    Im using permissionsbukkit, and I am having the same issue. The player is moved virtually, but not physically. As soon as the player logs off, the server reloads, or the server restarts, they are virtually transferred back to the default group (they never physically leave the default group).

    Scratch that, i did a few weird things with my permissionsbukkit config, set the wrong group as default, lol

    TOdkommt so I figured out the root of the problem I was having above. You may want to look into making this plugin compatible with the service "McMyAdmin". McMyAdmin has a permissions UI that automatically updates the PermissionsBukkit config, but it clashes with ThumbsApply. Everytime a perm is added in the McMyAdmin UI, it makes all of the groups unrecognizable to ThumbsApply, rendering all groups as guests (except OP's). When they type "/apply password", it promotes them all to the specified group, not back to their previous group. If I uninstall ThumbsApply before they type the command then it restores their previous rank (since ThumbsApply is not able to override their rank when uninstalled :p).

    It seems like this is a problem with your plugin not being able to recognize the groups because; when McMyAdmin updates the perms, and all players become guests (according to your plugin) I look in the PermissionsBukkit config to see that they are still all listed as their previous group, and it isn't until they type the command that they are forced to join the specified group.

    Example:
    [Before I add a permission in the McMyAdmin UI]
    Code:
        Musaddict:
            groups:
                - donator

    [After I add a permission in the McMyAdmin UI, but before I enter "/apply password" (at this point it says I'm a guest)]
    Code:
        Musaddict:
            groups:
                - donator
    [After I enter "/apply password"]
    Code:
        Musaddict:
            groups:
                - member

    I understand that you are most likely unable to do anything about this issue, seeing as it appears to be an update issue between McMyAdmin and PermissionsBukkit. I just thought I'd give you a heads up in case you are able to accomplish anything, and so that you could add a notice. Probably something like "Note: ThumbsApply2 is not compatible with the McMyAdmin permissions UI. If you are using McMyAdmin, you need to manually change and reload your permissions in your permission plugin's config.yml file."

    Cheers!

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 19, 2016
  22. Offline

    ArrowToTheKnee

    Could you implement bPermissions support?
     
  23. Offline

    TOdkommt

    unfortunately this is an issue that is not fixable from my side. im not using mcmyadmin anyway, if you can you should change to jsonapi and a php webinterface. jsonapi supports way more permissions systems and doesnt have this issue. also, it has all features for free and uses up less power (since the server start environment is only running while the server is stopped, not during server runtime).
     
  24. Offline

    ChefWalker

    Hello,

    My server also uses this!

    www.trueminecraft.net


    I have a question, is it possible to use it for multiple groups?

    password 1 gives you group A after at least 3 minutes

    password 2 givers you group B after 4 weeks.

    Would be awesome to make possible!


    Cya


    ChefWalker
     
  25. Offline

    RedstoneRealms

    Make the option so you can have multiple groups. For example:

    Guest>Member =30 days

    Member>Helper=60 days

    Helper>Builder=90 days

    Something like this. Would be awesome :D
     
  26. Offline

    aviator14

    TOdkommt should put his plans about this in an FAQ section xD

    also TO, I figured out I could probably get away with using forum-based greylisting for buildrights and TA for autopromotion, but that doesn't seem very user friendly lol. Think i'll stick with simple groups and TA buildrights until you finish your new plugin :)
     
  27. Offline

    TOdkommt

    i thought it would be just a few that would request something like that, i will implement now in a more admin (and plugin) friendly way than the old edition of it :p the new one will have a infinite amount of groups that you can implement, ill start working on that right now but i already know how to do it =)
     
  28. Offline

    Musaddict

    Cant wait for a 1.1 version (while I know 1.0.1 works just fine) :)
     
  29. Offline

    Royalgamer06

    This would be perfect. But I have these goups (per world):
    CreativeWorld ----> New, Creativebuilder, Admin
    SurvivalWorld ----> New, Survivor, Admin
    And I want to autopromote ''New'' to ''Survivor'' in the SurvivalWorld, and I want to autopromote ''New'' to ''Creativebuilder'' in the CreativeWorld.
    Do you get it?
    How can I do that?
    Please help if possible (if not, maybe a idea for the config for the next version)
    Greetz Roy
     
  30. Offline

    TOdkommt

    thats a good idea, i will implement that in the newest version. im having some issues getting the saving to work right now, but it should be out soon.
     
  31. Offline

    Royalgamer06

    YEAH!!!
     

Share This Page