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
@Furt
That sounds very good! I hope you do it. :-) Then i can stop my own fork.
I plan to rewrite the plugin and add more features starting this weekend. I plan to support spigot and sponge for minecraft v1.9
@Furt
Hey Furt,
nice to see you again. Please remove Metrics and maybe add a database migration.
Its been a long time since ive spoke of buttonpromote but i have a new build system setup and been doing a bit of work to it. v3.1.0 - cannot use databases made prior to 3.1 with this build.
Im running 1.8.1 spigot and i cannot get this plugin to promote with my bpermissions any help would be great
Well your in luck, I was kicking around the thought of updating it since spigot seems to be thriving. I'll see what I can do when I get time.
@Furt
To be fair I'm not quite surprised, I've used it for a long time and it is literally one of the best plugins around. There are few features I wish were there, but since it's been working for me since 1.5.2 (and still works in 1.8) I am quite delighted.
Could use an update tho, heh.
Its crazy to see people still using this plugin.
@And7rey
just make if you use pex /bp setcommand pex user %p group set player -next command
i had the same problem ^^
@Furt: /bp setpromotion promotes a player only for the world he's in , and for other worlds he stays the same
Can you add option to check player inventory for any items. I would use that plugin as Event warp. So players can join event without items. For Example HungerGames Event. Thanks
Please UPDATE for Craft Bukkit 1.7.2 !!! I need this plugin!
PLEASE update 1.6.2 !!! :(
Why are all these types of plugins in 1.5.2 FFS
I've been unable to get the "/bp setpromotion" command to work with 1.6.2, not sure if it's a version issue or not. However, after setting "consoleCommands" to "true" in the config file I was able to use this on a button:
"/bp setcommand manuadd %p InsertRankNameHere"
It works just fine as a workaround, at least for those that use Group Manager.
I hate to say this but I've lost interest in minecraft. It's something I knew would eventually happen and after 1.4 I stopped enjoying the game. I released 3.0 only bc I had a lot of requests for a update. The code is still available on github if anyone wishes to continue developing it. Now I must get back to coding a game I've been working on, happy gaming!
Works wonders Furt and _InnoKo_. I'm glad you guys have always been there for us.
Great plugin, hope it gets updated soon. It doesn't seem to work with 1.6.2.
@Furt
have you already fixed it? I really wanna use this plugin!!
- Jesper
I Can't use the plugin, I've installed vault and premissionsEX and when I put ButtonPromote in the plugin folder it will make a map with a DP-File, When I type /bp it will repeat the command but nothing happens