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
@TheAustrianPro
Support for datavalues is coming, prob in next release. As for your second request: all you have to do is set a custom permission and add it to the group that you want to be able to use the button.
Could you add Support for Datavalues. So that I can give my Users Colored Wool for a Quest or something? thx :) And as a Suggestion for a Feature: Maybe adding the Possibility, that Users can only use the Button, if they are in a specific permissions group.
This plugin doesn't effect the original use of a button so it still powers redstone and such.
I noticed you neglected to put the command for putting a command on a button on your thread. Also, if I attach a command to be run onto a button, will it also still have the functionality of a button? In addition to this, I have a feature request, could you support multiple commands? I am wanting players to have their permission group changed, have health/hunger restored and be teleported to spawn with a 60 second delay (to give them some time to browse the spawn castle; the delay will be created by booscooldown or a similar plugin). Thank you for your time.
thanks for update ;)
@cosmoscraft
If you are using the db file from 2.0 you must delete it and start fresh theres alot of changes in the tables.
@Furt
Im getting this error on startup, any ideas why?
@ShadowedRose
With newest release can add custom permissions per button. Lets say u make a button that teleport you to a private staff only area of your server and you only want mods to use it so you could do /bp setpermission staffbutton.mod then all you have to do is add the staffbutton.mod node to your moderator group in the permissions plugin you use.
Todo List as of 08/15/12
v2.1.1 hotfix
Fixes:
@mrx49er
v2.0 and v2.1b both work with 1.3
Is the pressureplate feature going to be implemented anytime soon?
Any idea by when the plugin will be releasing for 1.3? :) #Love The Plugin!
v2.1b
Updates:
Fixes:
This is a beta release meaning there will most likely be bugs so do not use this in a productive environment untill i get enough people to test.
Notice: Alot of changes has been made to the database tables so you will have to start fresh with next update, no more changes will be made after this.
@lotmom
there will be a fix for that in next release
sorry guys was taking a break from coding to actually play the game but im back >< keep an eye out there will be a major release sooner than you think
Hey. Could you make it possible for only a set <group> to use it even if they have the buttonpromote.use node?
i would like to be able to have, for example
Visitor->"ButtonPromote into Member group" then have only members able to press a button into the next rank after certain requirements are met. So that visitors are not going 4 ranks ahead.
If this is possible? pretty pretty plzzzzzzzzzz :3?
I hope soon to come ButtonPromote Minecraft 1.3.1
@_innoko_
Please make it so you cant be part of 2 groups so it removes you frop another group if you join a new one