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
@deleted_9420568
Probably your bukkit.yml, if it is set to "mysql", you should create the database.
Fixing the config issue today.
@uCraftMinecraft
Same problem. Its disappointing, I really need this plugin working.
Ummm. there is no config file in the ButtonPromote file itself and when I do /bp, the list of commands dont show and it doesnt work in game.. What is wrong? Please fix!
Thanks!
@kraaktlevelmaker
I was found it, it was in the ButtonPromote.jar\me\furt\buttonpromote folder in the jar file.
I think this is a bug. Can you fix it?
I'am using Spigot 1.5.2 R1.1 Button Promote version (build) Build #24 (Jun 15, 2013 11:56:29 PM)
He can't find a config.yml in ButtonPromote.jar because there is no config.yml in the .jar file. How do i fix this? Must I download te file by my self? Or is it Spigot. If i must het is by my slef ply somebody send me the config.yml
THANK YOU THANK YOU FOR UPDATING!!!!
Are there aliases to the root commands for this? /bp conflicts with battlepunishments for me.
Would it be possible to make it like /bpro or something? I would really like to use this but can't with these commands.
My Button Promote plugin is not making a config file. i have both vault and a permission plugin.
@C4BR3R4es
You are not using the newest version. http://crimson-gaming.com:8080/job/ButtonPromote/Recomended/
v3.0.0 Every time you break a block, it appears this notice: This button has features tied to it, to remove type /ba confirm or replace the button to keep.
Will be adding a new release by tomorrow in the mean time here is the latest recommended test build http://crimson-gaming.com:8080/job/ButtonPromote/23/
@Furt
The new test build seems to working ok, with maybe a few problems. (I'm not sure if they actually are problems.) I also have a few questions too. I can create button promotions that will promote a player when button/pressure plate/lever is activated. However, whenever I break a button, pressure plate, or lever, I get this message, "This button has features tied to it, to remove type /bp confirm or type /bp cancel and replace the button to keep." I am a redstone maniac and do lots of redstone stuff, so unless this is a bug, is there a way to disable this message whenever I break a button, pressure plate, or lever? After I break a button, pressure plate, or lever, I tried typing /bp confirm and it said "Could not delete button" and get a big error in console. (I do not know how to post server error logs, because I can't right click and copy the error from my console. (You can't right click on a console)) . /bp remove works perfect though. I haven't tried every single command yet though, but everything seems to work fine except the /bp confirm and the annoying message when you break a button, pressure plate, or lever.
Main question: Whenever I break a button, pressure plate, or lever, I get this message, "This button has features tied to it, to remove type /bp confirm or type /bp cancel and replace the button to keep." I am a redstone maniac and do lots of redstone stuff, so unless this is a bug, is there a way to disable this message whenever I break a button, pressure plate, or lever?
Thank you for spending time making an extremely useful plugin!
@Furt
When you use /bp setpromotion on a button it checks if the player has a group set, with most permission plugins when you join a server you are defaulted to a group but not set to it so by you demoting a player there group is still set, so this command is only recomended to be used with new players. But yea if u want it to change from one group to another you would have to use /bp setcommand.
Hello. I am not sure if it is a permission issue, or if I am just setting it up wrong. When I set up a button to display a message 'Congratulations! You are now a certified Citizen of Gallifrey One!' warp someone up to the top floor, and then promote them, if I demote someone on my server to 'Guest' and they use the button, it says "You have already been promoted" or the button does nothing at all. This one has no errors in the console whatsoever.
New test build available http://crimson-gaming.com:8080/job/ButtonPromote/22/ If all goes well ill be releasing newest version here.
everything fine, but when an Admin destroys a block the message "This Button has features tied to it, to remove type /pb confirm or replace the button to keep."
i needed to insert the "-buttonwarp.remove" permission
Nice Job seem to works prefect.
Try the newest test build, give me detailed information if u come a crossed errors http://crimson-gaming.com:8080/job/ButtonPromote/
Please Update or share the code on github