ButtonPromote
ButtonPromote - Use buttons/pressureplates to give users various features!
Version: v3.1.0 (Updated by Furt) - 7/18/15
Sourcecode |
Issue Tracker |
FaQ |
Test Builds |
Join me on IRC @ irc.esper.net/5555 #buttonpromote
ButtonPromote allows the use of simple and easy-to-remember commands to make your buttons promote, message, give/take currency, give/take items, and/or warp the players who click them.
Features:
- Use buttons/pressureplates to promote players who press them
- Use buttons/pressureplates to send messages to players
- Use buttons/pressureplates to warp players to another location
- Use buttons/pressureplates to perform commands
- Use buttons/pressureplates to give/take items
- Use buttons/pressureplates to give/take currency
- Can set buttons/pressureplates to only be used once
- Multi-world compatibility
- Vault support for permissions and economy
Dependencies
Required:
- Vault
- Permission plugin - PermissionsEX recommended
Optional:
- Economy plugin
Commands:
- /bp - Shows commands in-game.
- /bp setpromotion <group> - Type this command, then press a button to make it promote users to specified group.
- /bp setmessage <message> - Type this command, then press a button to make it send your message to players. Colorcodes and spaces do work!
Uses: - "/bp setcommand tp %p furt-slap furt" This will tp the player clicking the button to furt then slap him
- "/bp setmessage Hello!-Welcome to the server!-Enjoy your stay!" This will output:
- Hello!
- Welcome to the server!
- Enjoy your stay!
- /bp setcommand <command> - Type this command, then press a button to make it perform a command on a player.
- /bp setwarp - Type this command at the location you want, then press a button to make it warp users to that location.
- /bp setpermission <permission.touse> - This is used to give custom permissions per button.
- /bp setitem <give/take> <itemname> <amount> - This is used to give/take items from a player that right clicks it.
- /bp setcurrency <give/take> <amount> - This is used to give/take currency from a player that right clicks it.
- /bp setusage <true/false> - This feature is for giving a button a one time use.
- /bp remove - Type this command, then press a button to remove promotions and warps.
- /bp confirm - Confirms button removal on block break.
- /bp cancel - Cancels all current selections.
Permissions:
- buttonpromote.use - Permission to use promoter and warper buttons.
- buttonpromote.create - Permission to use /bp set and /bp setwarp commands.
- buttonpromote.remove - Permission to use /bp remove command.
Configuration:
# Set this to true to make buttom promote add to permissions instead of replace keepOldGroups: false # Set this to true to make every button created one time use globalOneTimeUse: false # Set this to true to make buttons use console for commands instead of player consoleCommands: false # Warm up time for warp, in seconds warpTimer: 3
To-do / Upcoming Features:
- Give me your suggestions for more features!
Changelog:
v3.0.0
- Updated to 1.5.2
- Fixed config generation in some cases.
- Added all new buttons and pressure plates.
v2.2.2
- Added the ability to make commands use console instead of player in the config
v2.2.1
- Resolved most issues with /bp setitem take, this feature now cancels the button event if they do not have the required item or amount.
v2.2
- Added a config file for the following:
- globalOneTimeUse - Default: false - If set to true this will cause all buttons newly created to be set to true for one time use feature.
- keepOldGroups - Default: false - If set to true this will keep old groups a player has instead of removing them with a promotion button is used.
- New Features:
- ButtonPromote now supports pressureplates!
- You can now set multiple messages and commands
- /bp setcommand now has variables that can be used to mark player name or world name player name = %p and world name = %w
Please update to work with current Craftbukkit and Minecraft! Or allow another dev to take over the project! The commands say tell me to hit a button, but when I do, nothing happens!
Can you fix the problem with buttons?
If you want to help with development please state the test build # when reporting that there's bugs or that everything's working, I haven't had much time to work on my plugins but don't lose hope there will be a release version soon.
@seema23
PressurePlates work but not buttons.
@Yoyuyi999
this plugin works fine ...
Plugin does not work. Using the newest test build with the newest craftbukkit 1.4.7 recommended build. Whenever I try to add a command, message, promotion, etc. to a button it doesn't say anything but does not add it to the button.
Fur, its a noclassdeffounderror, which likely can mean, that the plugin is compiled with a typo uppercase, or a class is not defined. Did it compile without errors? 2013-01-31 03:57:15 [SEVERE] Could not load 'plugins\ButtonPromote.jar' in folder 'plugins' org.bukkit.plugin.InvalidPluginException: java.lang.NoClassDefFoundError: org/joda/time/LocalDateTime
How do i set a command on a pressureplate ??
I have no issues at all so i don't know why it doesn't load for u
Using bukkit 146 and your testbuild. I really dont understand, how you can say this can load up at all? It fails to load at startup!
how so that each player can only pick up the kit once in a week?? I've tried the command "/bp setcommand kit tools" but it does not work like that.
with the multiple commands option, i am trying to get a pressure plate to remove all entities with the world guard stoplag command, that works, but i want to immediately re-enable ti afterwards unfortunately doing /bp setcommand stoplag-stoplag -c tries running three command.. /stoplag, /stoplag, and /c is there a way to tell bp that -c is a variable of the stoplag command and not a new command?
I would still like a working version of BP for 1.4.6 and well.. also for 1.4.7 which we are changing to very soon. We still need a few plugins to follow up on 1.4.7 then we are switching over. But our quiz is totally down for month, because i can't find a plugin to do this. When the BP starts up, error is plugin could not start.
@Furt
Hi,tried "/bp setpromotion default builder".It seems to set my higher rank to default.Any idea what im doing wrong?
@MikeOver757
/bp setcommand ban %p
Is it possible to add a command that when they hit the button they get banned, i want to have a mature server and don't want any young people on it. If not could you possibly add a way to do so.
@Furt
Thanks, i'll try it.
2nd edit: plugin does not startup. Errors in logfile.
@fungreenfox
Try newest test build, also this plugin is built with java 1.7
@Furt
Yes i have vault. But i will need to send a private pm with this stuff, its heavy and not public.
@tiwar
could maybe have /bp setpromotion [old rank] [new rank] so that you must have [old rank] to be promoted to [new rank]