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

    kahlilnc

    I want to remove greylisters for this plugin :D
     
  3. Offline

    TOdkommt

  4. Offline

    micdoodle8

    Okie Doke, thanks mate
     
  5. Offline

    TOdkommt

    New Version is up now.
     
  6. Offline

    micdoodle8

    Thanks mate
     
  7. Offline

    CoolOppo

    Seems like a wonderful idea. I'm definitely getting this on my server.
     
  8. Offline

    RaymanMaik

    I'm getting this error if someone tries to promote
    Code:
    org.bukkit.command.CommandException: Unhandled exception executing command 'apply' in plugin ThumbsApply v1.4
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:41)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:163)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:353)
        at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:756)
        at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:721)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:714)
        at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:92)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:464)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    Caused by: java.lang.NoSuchMethodError: org.bukkit.Server.getConsoleSender()Lorg/bukkit/command/ConsoleCommandSender;
        at me.Todkommt.ThumbsApply.ThumbsApply.onCommand(ThumbsApply.java:221)
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:39)
        ... 12 more
     
  9. Offline

    TOdkommt

    It seems to Be a problem with bukkit. Try A New bukkit jar.


    ---
    I am here: http://maps.google.com/maps?ll=48.999486,8.385892
     
  10. Offline

    StClaus

    bPermissions would be nice :)
     
  11. Offline

    TOdkommt

    according to its bukkitdev page, it should have a bridge (which means you could use any of the versions, but try the superperms version since bpermissions is called a "SuperPerms Manager").
     
  12. Offline

    joasiee

    What does the variable and variable 2 mean? i dont understand it
     
  13. Offline

    TOdkommt

    variable2 is only needed if you use multigroups (eg. pw1 promotes to group bla and pw2 promotes to group blob).
     
  14. Offline

    der_rapi

    hi,

    there is a little bug, that prevents from changing the default command:

    public void loadFile()
    {
    String pw = "variable.password";
    String grpnmt = "variable.groupnametarget";
    String logmsgen = "option.loginmessageenabled";
    String chtblken = "option.chatblockenabled";
    config.load();
    password = config.getString(pw, password);
    groupnametarget = config.getString(grpnmt, groupnametarget);
    loginmessageenabled = config.getString(logmsgen, loginmessageenabled);
    chatblockenabled = config.getString(chtblken, chatblockenabled);
    commandconf = config.getString("variables.command", commandconf);
    password2 = config.getString("variables2.password", password2);
    groupnametarget2 = config.getString("variables2.groupnametarget", groupnametarget2);
    doublegroup = config.getString("option.doublegroupsenabled", doublegroup);
    applytype = config.getString("option.applytype", applytype);
    timetopromote = config.getInt("variable.timetopromote", timetopromote);
    }

    i think it should be "variable" - without the "s".

    and i have a question too: is it possible to release a working version for groupmanager by changing the version for permissions3 from


    getServer().dispatchCommand(console, "permissions player setgroup " + name + " " + groupnametarget);

    into


    getServer().dispatchCommand(console, "manuadd " + name + " " + groupnametarget);
    ?

    thx

    ps: ich merk grad, dass mein englisch ziemlich eingerostet ist, ich hoffe man kann verstehen was ich meine ;-)
     
  15. Offline

    TOdkommt

    kein problem bin selber deutsch :p den fehler da hab ich ewig gesucht, danke^^ und es ist nich möglich das durch ändern davon hinzubekomm, man muss den permissionshandler anders definieren (wegen der permissions node abfrage). ich habe das versucht einzubinden, hat aber leider nicht geklappt =)

    edit: der fehler war nur in der etwas veralteten version auf github, hab heute nochmal nachgeschaut :/
     
  16. Offline

    chrisgun

    I have one more request for the Plugin... could you add a custom message to OP's or a defined Group when someone enters the password correct? would be great :)
     
  17. Offline

    TOdkommt

    as soon as i get to it =) im currently working hard on a plugin and a homepage for my server, so im pretty busy right now :/
     
  18. Offline

    javoris767

    I get in game errors and console error. Also, it doesnt promote the players. Im running craft bukkit 1185 until i get plugins together for 1317. This is the best plugins :D i need to get this working again :(

    Code:
    java.lang.NullPointerException
    
        at me.Todkommt.ThumbsApply.ThumbsApply.inGroup(ThumbsApply.java:285)
    
        at me.Todkommt.ThumbsApply.ThumbsApplyPlayerListener.onPlayerChat(ThumbsApplyPlayerListener.java:33)
    
        at org.bukkit.plugin.java.JavaPluginLoader$6.execute(JavaPluginLoader.java:279)
    
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338)
    
        at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:726)
    
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:714)
    
        at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
    
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:92)
    
        at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:500)
    
        at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
     
  19. Offline

    TOdkommt

    i cant really get the error out of this :/ are you using the right version? the 1240 version doesnt work with 1185
     
  20. Offline

    javoris767

    i think that's the problem
     
  21. Offline

    Cherrykiller

    Ich versuche schon seit tagen es mit Bpermissions zumlaufen zu bekommen leider ohne erfolg :(
    könntet du vielleicht eine version für Bpermissions machen oder mir vielleicht helfen es zum laufen zu bekommen :(
    wäre super
    mfg.
     
  22. Offline

    TehSeph

    Just wondering if it was you who added this to BukkitDev...? Also, are passwords case-sensitive? If not, may I request an option for case-sensitivity? I would like "iAgree" to work, but not "iagree" or "IAGREE" etc.
     
  23. Offline

    TOdkommt

    yeah, i put it up on bukkitdev, but still didnt get around to actually put it up =) the option would extremely blow up the code, since i would need to have the whole oncommand code block 2 times :/
     
  24. Offline

    javoris767

    I just updated to 1317 and got the 1317 update for this plugin

    Code:
    21:30:07 [SEVERE] Exception in thread "Thread-3196"
    21:30:07 [SEVERE] java.lang.NullPointerException
    21:30:07 [SEVERE]       at me.Todkommt.ThumbsApply.ThumbsApply.inGroup(ThumbsApp
    ly.java:282)
    21:30:07 [SEVERE]       at me.Todkommt.ThumbsApply.PlaytimeCounter.thread(Playti
    meCounter.java:32)
    21:30:07 [SEVERE]       at me.Todkommt.ThumbsApply.PlaytimeCounter.run(PlaytimeC
    ounter.java:14)
    21:30:07 [SEVERE]       at java.lang.Thread.run(Unknown Source)
    21:30:20 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'appl
    y' in plugin ThumbsApply v1.4
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:42)
            at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:16
    3)
            at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:3
    55)
            at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.
    java:757)
            at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:722)
    
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:715)
            at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
            at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:92)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:471)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    Caused by: java.lang.NullPointerException
            at me.Todkommt.ThumbsApply.ThumbsApply.inGroup(ThumbsApply.java:282)
            at me.Todkommt.ThumbsApply.ThumbsApply.onCommand(ThumbsApply.java:229)
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40)
            ... 12 more
    >
     
  25. Offline

    Cherrykiller

    can me somebody help i can't get it work with Bpermissions :(
    i have bukkit 1317 and the newest version of Bpermissions and ThumbsApply i have testet all versions but is didn't
    work.
    please help me :(
     
  26. Offline

    TOdkommt

    thats strange. i have to look after it as soon as i have time.
     
  27. Offline

    zbiskupiak

    nice plugin!
     
  28. Offline

    Nick22

    Code:
    20:11:30 [SEVERE] Exception in thread "Thread-29"
    20:11:30 [SEVERE] java.lang.NoClassDefFoundError: ru/tehkode/permissions/bukkit/
    PermissionsEx
    20:11:30 [SEVERE]       at me.Todkommt.ThumbsApply.ThumbsApply.inGroup(ThumbsApp
    ly.java:266)
    20:11:30 [SEVERE]       at me.Todkommt.ThumbsApply.PlaytimeCounter.thread(Playti
    meCounter.java:32)
    20:11:30 [SEVERE]       at me.Todkommt.ThumbsApply.PlaytimeCounter.run(PlaytimeC
    ounter.java:14)
    20:11:30 [SEVERE]       at java.lang.Thread.run(Unknown Source)
    20:11:30 [SEVERE] Caused by: java.lang.ClassNotFoundException: ru.tehkode.permis
    sions.bukkit.PermissionsEx
    20:11:30 [SEVERE]       at java.net.URLClassLoader$1.run(Unknown Source)
    20:11:30 [SEVERE]       at java.net.URLClassLoader$1.run(Unknown Source)
    20:11:30 [SEVERE]       at java.security.AccessController.doPrivileged(Native Me
    thod)
    20:11:30 [SEVERE]       at java.net.URLClassLoader.findClass(Unknown Source)
    20:11:30 [SEVERE]       at org.bukkit.plugin.java.PluginClassLoader.findClass(Pl
    uginClassLoader.java:36)
    20:11:30 [SEVERE]       at org.bukkit.plugin.java.PluginClassLoader.findClass(Pl
    uginClassLoader.java:24)
    20:11:30 [SEVERE]       at java.lang.ClassLoader.loadClass(Unknown Source)
    20:11:30 [SEVERE]       at java.lang.ClassLoader.loadClass(Unknown Source)
    20:11:30 [SEVERE]       ... 4 more
    I am getting this error in the console. The plugin still works, but the error just annoys me. Does anybody know what it is?
     
  29. Offline

    Spadow

    @TOdkommt
    I config all correct but if a Guest use /apply there is this error.
    An internal error occured while attempting to perform this command.

    Im using #1317 and PEX.
    All my groups (without guests) have the permission groups:
    thumbsapply.notguest
     
  30. Offline

    TOdkommt

    it seems that a bunch of plugins have that error in 1317, i have to look after it asap.
     
  31. Offline

    Spadow

    @TOdkommt

    is that not working for you too or its only me?


    BTW. If i want to edit the command and restart the server and write ingame the command i changed it shows nothing...
     

Share This Page