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
i have a problem i have Craftbukkit 1.3.1-R1.0 and some plugins that are made for 1.3.2 work for this 1.3.1-R1.0 version but i tried this plugin all versions 1.3.1-R1.0, 1.3.1-R2.0, 1.3.2-R.10 but nothing work if i write the command /bp or any other /bp command it just writes nothing i see this plugin exist i have it installed but it just writes nothing i tried multiple times i dont know how to make it working i looked in the config it created the new folder with a config but this dont helps me i cant use this plugin please help me. (and the console writes nothing)
@Furt
can you add the commands by console please i need it!! =((
Looks like a bukkitpermissions issue might wanna nag vault dev's about it.
@Furt
Already have it...
@deleted_8537216
There's nothing I can do about it, sounds like a vault issue
@thatguynamedkevin
Have you tried the newest version with 1.2.5?
I just installed and tested it multiple times, None of it is working for me, I am using version 2.0 for CB 1.2.5 R4, Yes i know this is an older version but my server has spout plugins that are not updated. But anyways back to my point, i can make a button just fine but when it is pushed this comes up http://pastie.org/5098873 I really wanna use this plugin, but I am afraid I might have to remove it if it won't work.
Well, this plugin works, but when exactly this plugin is installed, it takes 3-4 minutes more to start the server up. It makes a picknik break when plugin is loading. Can you change this?
please update =(
It works with GroupManager's right?
@Furt
Wow amazing! sorry i can't see the changelog =) please add console commands <3
1. Warp is not bugged it is set that way to allow time for the button to reset position so that it doesnt bug out, u can change the time in the config
2. Please read changelogs they are your friend... it will solve your command and message issues
3. Yes i do need to make the command event use console and not player this will be in next release.
4. and as for your request i dont plan on adding new features untill everything else works perfectly.
Please make the command by console =((
@Furt
mmm warp is bugged... you dont get warp instantly but after 3-4 seconds :(
Can you add /bp rqitem <message>
(For custom required item message) :P
And i found a new bug you can't set multiple commands,message in 1 button
/bp setcommand eco give %p 2000
/bp setcommand eco give %p 3000( Replace the 2000$)
/bp setmessage Hello 1
/bp setmessage Hello 2 (Replace Hello 1)
Please fix =(
Yea i forgot to update the ingame messages i believe, if ur setting a pressure plate instead of a button just walk on it.
how do i make it so it works with preasure plates
@rusty0509
It supports whatever vault does.
does this work for groupmanager?
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.
DON'T WORK THE TAKE OF ITEM
IF I SET ONLY 1 ITEM TO TAKE AND PLAYER HAVE 64 IN INVENTORY THE PLUGIN DON'T SEE THE ITEM AND IF I HAVE 1 ONLY DIAMOND HE TAKE!! PLEASE FIX
And if i want to a player get a warp and doesn't have the item he does go anyway with no take item :(