ButtonsPlus
This Plugin allows you to easily script buttons/levers/pressure plates to do anything you want them to do! NO COMMANDS NEEDED. All you have to do is crouch + right click a button and the in-game prompt will tell you what to do next! The aim of this plugin is to enable players on servers to create custom scripted buttons that can do anything from charging for a player to kill themselves, to telporting a player to spawn. This plugin can also use commands from other plugins to allow for completely custom actions, such as promoting a player to a new group, or changing scoreboard stats, the possibilities are endless!
This plugin will default to using money if there is vault and an economy plugin, if not, it will default to using experience levels.
Crouch and right click to start setup, crouch and right click an already made button to see info, and crouch and break to delete a button.
Item economy mode, and the take action are still a bit buggy in version 2.0 and it is recommended to use them with caution. Thank you!
This plugin will no longer REQUIRE vault after the MC1.5.1 update, but it is still needed if you wish to use an economy plugin with ButtonsPlus Vault Link
How to Use
For instructions on how to set up this plugin, go to the setup page: Setup
For instructions on how to setup the config, go to the config page: Config file
For instructions on how to use this plugin, go to the tutorial page: Tutorial
For a list of actions you can add to your buttons, go to the actions page: Actions
For instructions on how to setup permissions, go to the permissions page: Permissions
For more ideas on how to use this plugin, go to the suggested usage examples page: Suggested Usage Examples
About:
This plugin is in a Beta phase meaning there are still some bugs i need to work out, so please help get rid of any bugs in this plugin by posting error reports!
ButtonsPlus uses Vault, so whatever economy plugin you use will be supported.
If You have a bug or suggestion or even a question you can post it on my github issues page: ◄Github Isues Page► or on this page
Source on github! Github!
@Albumleaf
Well, i did not know that the skeleton spawned without bow... that's a troublesome bug for sure... I'll see what i can do about the mob items.
@K3V1N32
nice, that would be an interesting plugin.
Also definitely a nice feature. Is there a work-around for the skeleton with no bow issue? e.g. maybe being able to specify what item a mob has in their inventory, including swords, and armour. Therefore you could specify the skeleton having a bow, but also make an awesome mob arena setup with armoured mobs
@K3V1N32
Dude both of those seem sick, I'll use em!
@Albumleaf
Ha Ha, its an experimental hat plugin that i'm working on that will allow you to wear entities/blocks/items as a hat.
Also, here is a preview of the feature i'm working on for the next version :)
yea i was thinking,"bukkitHats? WTF is that (insert jackie chan wtf face xD)" lol
@Albumleaf
Oh boy! I mixed up my projects yml files! uploading a new version now!
Definitely sounds good to me.
With the new build, i am getting a major error and the plugin is malfunctioning.
Okay, just uploaded ButtonsPlus Beta[v2.2] that fixes some mobs not being named correctly, mob names being case sensitive, and alphabetizes my lists.
Sorry for all the updates so close together, i'm in bug-fixing mode right now, once [v2.5] is out i'll probably only need to update when bukkit updates :)
My plans for future updates/TODO list:
Beta[v2.3]
Beta[v2.5]
Beta[v3.0]
@K3V1N32
ok so its just a matter of renaming the mobs to be spawned? sounds good to me
@Albumleaf
Well, i did some research on the wiki and it looks like the savegame ids on the wiki work as the names of the mobs being spawned, i tried VillagerGolem instead of IronGolem, and it spawned the iron golem, so YAY! That bug will be fixed in the next version. Also, ocelot is "ozelot" in the savegame ids, so thats why those were not spawning lol
@K3V1N32
Oh really? that sucks! Have you tried looking at the source of a mob spawning plugin? Reverse-engineer it maybe? I.e. just troll through the bukkit dev searching for a mob spawning plugin, and look through the source to find where they spawn those certain mob types, and see what they put. Give them credit if you do find out how :)
@Albumleaf
Yeah that is a bug i have had no luck in fixing, i still can't figure out why those mobs don't spawn, i believe its cause of the way i name them, but I've tried several names for each and it still seems to not work, hopefully i will find a fix for the next version!
@K3V1N32
Ahhh, that makes more sense. I didn't realise that the charge button actually credits the player who created it. I am able to set up a shop to buy things from, but selling things to the shop is a lot harder. But im guessing it would just be a configurable charge type per button creation. A couple of bugs I also found with the mob spawning is that Iron Golems, Ocelots, Zombie Pigmen and Mooshrooms. These mobs will not spawn.
@Albumleaf
The way it works right now is whenever a player makes a charge type button, the player who made the button gets the items/xp/money from the player who pushed the button. So if PlayerA made a button that charges $1 for a global message and PlayerB comes along and presses the button, PlayerB will have $1 taken away, and PlayerA will recieve $1 from that button push. I never really thought about the buttons being used as shops, other than with protected dispensers that shoot an item out upon a successful button press...
I'm still working on fixing the item bugs in the current version, until i figure out whats wrong with items, i can't really do a whole lot of testing with new charge modes.
I think i'm going to make each action have a separate cost, that is configurable in the config, like this:
That way you can config exactly what each action costs, and then charge the player the amount of xp/items/money that they owe.
@K3V1N32
Well what ideas do you have about the button? If the player creates a button to charge people items for money, e.g. as a shop, would the person that created the button be given a percentage or make a profit off the "sale"? If the person does create a "shop", then maybe they should be charged additional costs, as they would make money off of the button in the long run. Im not sure how the plugin works, but when using a gmessage, you can specify &p as the player who pressed the button, therefore can u implement that for when a player creates the button, the "profit" made off each "sale" could be sent to that player?
@Albumleaf
That's actually the next thingi have on my todo list, I'm going to remove the take action and just make it so you can choose what to charge when creating the button. Only problem is what should the player be charged for creating the button?
Just an idea, not sure if it has been mentioned yet. Is it possible to specify what to charge when creating a button? So, each button can be different. E.g. when you create the button, specify that is will charge something, you could put item, xp, or eco, instead of having a static charge set in the config. This would then mean you could create an effective shop. Charge $15 for cake Sell cake 1 for $10 Kinda get where I am going with this? At the moment, if you try and take an item from the player and also give them money, if the player doesn't have the item, it will still take the money.
Just a thought :)
@K3V1N32
No problem, thought it would be best to report then just leave it, as this plugin is awesome.
Cheers,
Albumleaf
@Albumleaf
Thanks for the error report. Sorry for it not working! Will work on a fix asap, shouldn't be too long, i have to figure out why my location convert didn't work.
Edit: I uploaded Beta [v2.1] to fix this error. The file is awaiting approval from the bukkit staff. I really appreciate getting error reports, so thank you Albumleaf for helping me fix that bug!
This is an amazing plugin! Just what my server needs. Unfortunately, I am having difficulty with the mob spawning functions of this plugin. I set up a button to spawn mobs in certain areas, correctly following the steps (as it had previously worked in before updating the plugin), and now nothing happens. The button is registered, but throws a large error in the console.