ButtonPromote v2.2

Details

  • Filename
    ButtonPromote.jar
  • Uploaded by
  • Uploaded
    Aug 24, 2012
  • Size
    25.63 KB
  • Downloads
    3,129
  • MD5
    41b78a9b879f36f1de643cfc46bbe7b5

Supported Bukkit Versions

  • CB 1.3.1-R2.0

Changelog

Changelog:

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