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
ive got a question:
does "one time use" mean, that every player can use this button only one time or that it only could be pressed by anybody? so, is this one-time-per-player or on-time-at-all ?
Could you add Support for Timing the One Time Use? I mean that the Player is only able to use the Button one time and after a set Time he can use it again? And i have a Problem with the PressurePlates. I made a Warp on them, but when i wanted to delete the PressurePlates Function the Error "Could not delete Button!" appears. Thx
This item doesn't seem to work? /bp setitem give 100:15 1
Can you add the commands by console?
@Luxius96
Yes in button promote you can make a single button do alot of things.
Can i give multiple commands?
Example...
In 1 button
Promote,Warp and message
@Furt
thanks furt!
dont know why it wasnt working before. i created a new user must have been privileges ah well root works for now till i can make it more secure :D
@deleted_8873967
I think the only way i can fix that is set a timer before warp so that the server gives the button/pressureplate enough time to go back to default position before warping the player. Ill get on this asap.
Here is my config:
Im not having any problems database wise
sorry been away for a while. @furt
ive tried changing my database settings in the bukkit.yml but im getting this error
http://pastebin.com/hxdGJUwt
im using mcmyadmin to start the server and i also have the survival games plugin which is connected to the same data base no problems.
thanks for your help
Flawless so far! Works great and i'm very happy! thanks Innoko and Furt!
found a bug:
if i use a button or a pressure plate to teleport the player to another world, it works, but the button or the plate stays pressed. so if i walk other the pressure plate i'll get teleportet, but the pressure plate is still pressed down, allthough nobody is standing on it.
using bp vers. 2.2
Database connections have nothing to do with this plugin, this plugin uses bukkits db interface so try searching there wiki or asking for help on there forum.
But it even didn't make a config so I can not write my mysql data into it?
If you want any help at all please use this format
Bukkit Version:
ButtonPromote version:
Is this a start up error? If not what where you doing when it happened?
Can you replicate the bug?
If you are getting startup errors while trying to use a db from ButtonPromote v2.0 please delete and start fresh v2.0 is not compatible with ButtonPromote v2.1 and up.
@Faffling94
I haz so many errors it not funny
0 0 __
@Faffling94
Check your MySQL database, especially your username and password. It seems to me that the plugin is having difficulty connecting to your database.
@Furt:
Yes it doesn't work. Here is my error code: http://pastebin.com/W6YM29vf Thanks
Edit: It made no config and on my 2nd server it works well?
Added a issue tracker link at the top, doing this so i can keep up with bug, suggestions, and questions. All can be posted there.
@Faffling94
Are you asking if it works or are you telling me it doesn't? Either way im not seeing any issues.
@LeChuuck First off this plugin doesn't use op as far as permissions go, this is something Ive over looked as most don't use op on there servers.
As far as your error goes it looks like you where trying to use $ in the currency command, in order for me to help you need to tell me what you where doing when the error occurred and can you replicate it.