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

    chrisgun

    Thank you very much for the Update. The localisation works great. In the PermissionsEX Version though the command configuration doesent work. Or i just couldnt make it work.
     
  3. Offline

    TOdkommt

    Yep, I accidently uploaded the wrong Version =/ Right One Comes when I'm back from School.


    ---
    I am here: http://maps.google.com/maps?ll=48.998160,8.384045

    Ok, the right version is up now.

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

    Teldelariel

    Show Spoiler
    [SEVERE] Could not pass event PLAYER_CHAT to ThumbsApply
    java.lang.NullPointerException
    at me.Todkommt.ThumbsApply.ThumbsApply.inGroup(ThumbsApply.java:210)
    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)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:464)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
    at net.minecraft.server.ThreadServerApplication.run(Source Could not pass event PLAYER_CHAT to ThumbsApply
    java.lang.NullPointerException
    at me.Todkommt.ThumbsApply.ThumbsApply.inGroup(ThumbsApply.java:210)
    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)
    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)


    Any idea on what could be causing it, this is a new install no changes have been made im running latest RB of bukkit and latest of your plugin, If I can get this working this would be very awesome as we are getting more and more people joining the server when we are not there, this will enable us to get new members promoted in a timely fashion
     
  5. Offline

    TOdkommt

    Which version do you use? If it's the right version for your permissions plugin (Permissions version does NOT work with the Superperms permissions bridge), try updating all your plugins and get the newest dev version of spout. if none of this helps, just post again.
     
  6. Offline

    Teldelariel

    I used the permissions version, I have the latest on ALL of my plugins and the newest dev spout version, I use Groupmanager with permbridge
     
  7. Offline

    TOdkommt

    i didn't test groupmanager yet, seems to be a problem with this. why cant any permissions plugin just have a WORKING bridge... i dont have time to fix that right now, sry, but if that problem persists, i have to make a fourth version of the plugin-.-
     
  8. Offline

    Teldelariel

    If you could that would awesome, I will uninstall it for now until you can get the time to do this , thank you again if you are able to allow GM with this fab plugin
     
  9. Offline

    chrisgun

    Thanks for the Update.. couldn’t make it work with the Custom Command "Unknown Command. ..." I will stick with /apply then... Thank you for your really fast Support on the Plugin... i really appreciate your work
     
  10. Offline

    TOdkommt

    i uploaded another version later on, which should fix the last problems with it =) try downloading again, i didn't make a new version for it.
     
  11. Offline

    Synicyde

    It would be a great idea to have admin authorization for users to promote themselves to a higher ranks group...like /apply admincode then it shows a notification to the admin that the user is trying to promote themself to that rank then the admin can type /accept {playername} ...Just an idea :) I really like this plugin though...I have a small server and it's useful when no ones on!
     
  12. Offline

    Mr_H4mm3r

    Can i use this for promoting to builder??
     
  13. Offline

    Teldelariel

    If you have to add them by typing /accept player, just type the cmd to manually add them as its just as much typing anyway

    and
    Mr Hammer this is exactly what its for Automated promotion once a password has been given
     
  14. Offline

    kayloe

    Lol - I'm using Alerter, and it tells me all the commands people type... People are joining my server and trying to use their minecraft password.. smh.. LOL
     
  15. Offline

    Teldelariel

    any progress on the GM compatiablity ?
     
  16. Offline

    TOdkommt

    i cant find any documentation about it, so i dont think ill be able to implement it in near future. but try out the latest dev build of essentialsgroupmanager.jar and essentialsfakepermissions.jar, it might fix your problem.
     
  17. Offline

    chrisgun

  18. Offline

    RingOfStorms

    If I were to use this, which I may end up doing - I would like to see a auto promotion after a certain amount of time on the server playing. As in after a half an hour you get to user rank from guest. (Obviously needs to be configurable in the config)
     
  19. Offline

    TOdkommt

    ive already seen this, this is a command reference, but i needed an api reference (which still does not exist apparently). i figured it out by myself now.

    Edit: GroupManager Version out now, as well as the promote after a certain time feature requested by RingOfStorms.
     
  20. Offline

    Wardogz

    Attempting to use this plugin, love how it works, accept i can not get it to change the default command
    we are using the superperms/Permissionsbukkit version
    this is what i have in my ThumbsApply.yml
    could you tell me what im doing wrong? as it is still saying to use /apply <password>

    Code:
    variable2:
        groupnametarget: admin
        password: xxxxx
    variable:
        groupnametarget: Peasant
        command: helpop
        password: xxxxx
        timetopromote: 30
    option:
        chatblockenabled: 'true'
        applytype: password
        doublegroupsenabled: 'false'
        loginmessagenabled: 'true'
        commandconf: helpop
    Code:
    localization:
        loginmessage: Hello, {displayname}. Please unlock yourself by typing /
        chatrestricted: You can't write as a guest. Please unlock yourself with /
        wrongpassword: Wrong password!
        usage: 'Wrong usage. Right: /'
        wrongsender: This command must be accessed by a player!
        alreadyapplied: You have already been promoted!
        success: Success! You are now promoted.
    Also, i know 1.4 is a new release, is it possable to have it use the {displayname} variable insted of guest?
    Above is my localization.yml

    some other items that might be helpful,
    the ability to reload the plugin from within the game
    /thumbs reload

    or the ability to kick or ban a player if they send the wrong password?
    (i know mean, but the idea is for them to read the rules and follow directions)
    just a suggestion

    also i noticed since i am running 1.4 i get Tick NR. # on my console now
    is there a way to turn this off?

    Thanks
     
  21. Offline

    TOdkommt

    on my test system, bukkit is very buggy reading config files, but i will check for mistakes. the tick nr is because of the new feature, you have to recreate the plugin config and set the applytype to password. the displayname variable should work, but i dont know much about that. finally, i will think about the suggested features, not hard to implement, but it might blow up the plugin too much (it already has a lot more features than originally intended).

    edit: ok nevermind, i did make the old variable/variables mistake in the config :p also, with "blow up the plugin" i mean more like "blow up the config". its already huge in the code and a big mess.
     
  22. Offline

    Wardogz

    Display name is not working
    and i have it set to password
    Code:
    variable2:
        groupnametarget: admin
        password: xxxxx
    variable:
        groupnametarget: Peasant
        command: helpop
        password: xxxxx
        timetopromote: 30
    option:
        chatblockenabled: 'true'
        applytype: password
        doublegroupsenabled: 'false'
        loginmessagenabled: 'true'
        commandconf: helpop
    but it is still "ticking"
    also noticed once it hits the 30 ticks, it put all online members into the Peasant group on my server
    (not a big deal easy to fix this)
     
  23. Offline

    TOdkommt

    ok, its a bug with the config reader of bukkit, as you might have noticed its also the only config option without the '. I'll try to fix this. And I will fix the thing with the permissions.
     
  24. Offline

    Haribo98

    Hey, what unit is the time measured in, and I can't have more than 1 command, I have to use /apply and thats the only one that works :L
     
  25. Offline

    Wardogz

    cool,
    so the items not working atm for me the command is still not allowing me to use anything other then /apply (not that big of a deal)
    it wont allow me to turn off the time to promote
    {Displayname} in the localization.yml does not work (not a big deal)

    anything else i find ill let you know :)
     
  26. Offline

    TOdkommt

    The time unit is minutes. And the config doesn't really work atm, it seems to be a bukkit bug.
     
  27. Offline

    Wardogz

    well set my timer to 5256000 and it "fixed" the issue with it promoting all users to the rank specified.
    still cant get it to take any command other then /apply

    but other then those, its working great
     
  28. Offline

    chrisgun

    same by my server... cant change the command but otherwise works great :)
     
  29. Offline

    Teldelariel

    tried your GM version but still same error, thanks anyway mate
     
  30. Offline

    chrisgun

    With the new Version the custom command still doesent seem to work.
    Could you make the Tick Thread, i suppose it is for the timepromote, optional? So deaktivate it when you dont use timepromote? I have one more idea for this Plugin. You could add a auto kick with a custom message when the guest enters the password x times wrong. Or/And disable further inputs, so after x wrong times the user has to be activated manually.
     
  31. Offline

    micdoodle8

    Please add support for the #1240 RB

    Thanks, plugin works great on my #1185 server :D
     

Share This Page