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
its not working for me i added the permissions but the buttons dont work!
please fix that
did some testing on it and have no problem creating the buttons as non op just using perms, however they do not seem to do anything. Checked the files and it is all stored there properly it seems.
I gave the buttonpromote.use perm to all people however it does not work for anyone. Tested with just message, just promote, and just warp and nothing on any of them, no console errors, no you dont have permission, nothing. Tried some combination buttons to and those did nothing either.
Using pex and i have vault installed, is there a minimum pex or vault version that is needed for this to function properly?
Love the idea behind this plugin, will be testing it soon before implement.
Just to clairify, buttons can be set to do multiple things, right; like promote, tp and send message all on one button?
The warps wont save after restart, and i added buttonpromote.use to the permission but it that group cant use it.
@Furt
The source is here: https://github.com/iMint-/ButtonPromote Vault is now used as of version 1.2
Your title here...
i want only newbies to use promotebutton and and them other used it like a warp
Why not use Vault for permissions? If you have the source on github i could do a pull request with suggested changes.
Does this work with Group Manager?
works like a charm, untill i reload or restart my server...it seems its not saving my warps? any ideas? :) fantastic plugin tho!
Not working for me in 1.2.4 R01 (rb). Plugin will load but get severe's I try to run /bp or anything else.
I have been waiting for something like this to. Please continue with development and PLEASE add the ability to run commands with the button as well.
Thanks
@Shockwave26579
Hahaha yeah! :D
I'm probably also gonna add a feature where you can make buttons execute commands. :)
@endercraft
Glad you like it!!
EDIT: Glad you LOVE* it! :P
Wow...A plugin that promotes..with buttons...and teleports...on the same button...where left and right click dont matter! OMG I LOVE IT! I have been using a button thing where u have to RIGHT CLICK a button to promoted you, then hit a different button to get out...THIs plugin is AWESOME! Great Job to you!
Been waiting for something like this, no more commandsigns! Woo-Hoo!