ButtonPromote v3.0.0

Details

  • Filename
    ButtonPromote.jar
  • Uploaded by
  • Uploaded
    Jun 15, 2013
  • Size
    32.83 KB
  • Downloads
    13,659
  • MD5
    2dcf972e1a3afb7999aed66d2b09b493

Supported Bukkit Versions

  • CB 1.5.2-R1.0

Changelog

Changelog:

v3.0.0

  • Updated to work with v1.5.2
  • All new buttons and pressure plates added.

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 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!

v2.1.1

Fixes:

  • Fixed npe with once time use feature.
  • Added player message for /bp setcurrency
  • Fixed new features not clearing selection when finished.

v2.1

  • New command /bp usage <boolean> - Enables a one time use feature
  • New command /bp setcurrency <give/take> <amount> - Makes the button give/take currency!
  • New command /ba setitem <give/take> <itemname> <amount> - Makes the button give/take items!

Updates:

  • Updated the api to be less redundant
  • Started adding javadocs

Fixes:

  • Fixed player having more than one group due to right clicking a promoter button

v2.0

All thanks goes to Furt for doing this!

  • Full rewrite of the plugin to use bukkit ebean persistence "mysql or sqlite"
  • New command /bp setcommand <command> - makes the button perform a command

Fixes:

  • Fixed buttons not working after restart
  • Fixed buttons only working with op players

v1.2

  • Buttons can now send messages to players
  • Color codes for messages
  • Now uses Vault for permissions
  • A LOT of code cleanup
  • Fixed a bug where buttons with warps but no promotions don't save
  • There are now three separate data files: promotions.dat, messages.dat, and warps.dat
  • Changed and added commands:
    • /bp setmessage <message> - make buttons send messages
    • /bp setpromotion <group> - make buttons promote players
    • /bp reload - reload data files

v1.0

  • Initial Release

After setting a button to give/take a item when u right click the button the item doesnt show up but if u left click it again or relog it shows up.
If button is set to take item, it will check for first stack in bar so make sure your stack has enough for the button.