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
we need this plugin lag and buggfree! If it is, i will donate a 10 psc.
Can anyone else get the command "/bp setpermission <permission.touse>" to work? I've been trying to get that command to work for a few hours now and I'm having no luck. I am using the command "/bp setpermission bukkit.command.kill" just as a test permission to see if it works, and it doesn't. All i want to do is- Have a player walk on a pressure plate and that player would obtain the permission that was set on that pressure plate. If you have any ideas how to fix, please tell me.
why no 1.4.7. release?
@HiggingsSP
Test build runs off 1.4.7 recomended
Would this plugin cause harmful errors in 1.4.7? (Latest DEV bukkit) I would love to see it updated!
I get a flood of errors coming from RandomTP whenever I press a /bp button. Is this on your end or his?
how to give Daily Item?? and All user can get them for Daily..
[WARNING] Plugin from file: file/ButtonPromote.jar has embedded Metrics in the default package. This is not advisable, go nag them!
:)
@GalIaranM
Just added Config Settings to the plugins description didnt know it wasnt there, this feature request was added long ago should check changelog every once in awhile...
@Furt , what i suggest is that you should either add the feature where the === console itself does the command for players === when using the command /bp setcommand <command> ,let the console do the commands instead of players because console can do commands that most players at default rank can not do, such as; /give ,/spawn. Why? because when Server Developers are wanting to use "button promote" and they want to make a button where default ranked players will get an item or be given. I hope you either add a new bp command where "Console" can will be useful, or just switch the /bp setcommand (Set the button to perform by the Console) instead of Set the button to perform by the player, because when its console it can do any commands that are not registered by permissions, and server developers can just add in "%p" so for the players who clicked it, thus will give them their desired command. example: "/bp setcommandc give %p dirt 69". "setcommandc" for console.
@ginner159
i have the same problem
im still getiing a message saying "this button has commands type /bp confirm to cancel" when destroying blocks. i updated to dev build and it stopped doing it on all ranks except the admin ranks.
can you help cheers
@zeshan321
That can already be done, just use "/bp setpermission <custompermission>" then add that permission to the group, then only that group can use that button/pressureplate
Suggestion: Make it so a certain group can only use that button.
New test build Fixes: Block break messages and permissions for deletion of buttons/plates settings
@The_Epic_Yak
I had something like this in mind just havent added it yet I wanna make sure there are no more bugs b4 i add more functionality, when it is added it will behave like this if you have "/bp setcurrency take" set on a button the user that clicks the button will recieve a message like "To use this button/pressure plate you must pay 'amount', if you agree click the button again." The second click will trigger the actual function.
Consider adding the feature where ButtonPromote puts up a confirmation message saying Are you sure you want to buy "item" "rank" etc.... OF course this would only work if you set a price to the button/pressure pad
@MadToastyBro
Okay, now I can assign the stuff to buttons, but pressing the button still does nothing, even after its been assigned.
@MadToastyBro
Nevermind. I see the problem. I was trying to use it with wooden buttons, which doesn't work. Stone do though.
@Furt
Still doesn't work. Is it compatible with the master-race of GroupManager?
@MadToastyBro
Fixed in newest test build. Tested with craftbukkit-1.4.7-R1.0