Permissions
The Permissions in this plugin probably seem a bit complicated, compared to actually using the plugin, so i'm going to TRY to explain the way perms work as best i can!
This plugin has many actions, that can be added and preformed by a button, and so, there are permissions to each and every one of those actions creating and activating.
In version 2.0, I've added the buttonsplus.push, and buttonsplus.create permissions.
- buttonsplus.push will allow a player to push ANY action.
- buttonsplus.create will allow a player to create ANY action.
So, let's say you have a regular member group called members. Now, they are your not-so-trusted-but-are-building-trust players, and you want them to be able to make a few different buttons, and want to give them access to activate a larger group of buttons. And we also have a group called noobs, who are players who just got on the server, and are potentially griefers.
First of all, you need to determine which button types they can press. For the members group, we'll let them activate any button type, so we can just give them buttonsplus.alltypes.push but our noobs group, ohhhh man, we only want to give them access to press, but NOT create stone buttons, and stone pressure plates, so we will give them buttonsplus.STONE_BUTTON.push, and buttonsplus.STONE_PLATE.push
So for pretty much all of the permissions, there is a ".push" version and a ".create" version, and if you want a player to have both push AND create permissions for an action, just don't put the .push or .create, so buttonsplus.text, would give access to buttonsplus.text.push AND buttonsplus.text.create
For the noobs group you would probably only give:
- buttonsplus.STONE_BUTTON.push
- buttonsplus.STONE_PLATE.push
- buttonsplus.text.push
And for the members group you would give:
- buttonsplus.alltypes.push
- buttonsplus.STONE_BUTTON.create
- buttonsplus.text
- buttonsplus.command.push
- buttonsplus.teleport.push
- buttonsplus.console.push
- buttonsplus.death.push
- buttonsplus.heal.push
- buttonsplus.lightning.push
- buttonsplus.burn.push
And for the owner of the server, just give:
- buttonsplus.*
Recommended for admin:
- buttonsplus.alltypes
- buttonsplus.allmobs
- buttonsplus.break
- buttonsplus.text
- buttonsplus.command
- buttonsplus.teleport
- buttonsplus.burn
- buttonsplus.item
- buttonsplus.teleport
- buttonsplus.mob
List of Permissions!
Permission | Description |
---|---|
buttonsplus.admin | Has all permissions |
buttonsplus.break | Any player who has this will be able to break ANY button |
buttonsplus.info | Any player who has this can see info on any button |
buttonsplus.costinfo | Lets the player see the cost and owner |
buttonsplus.bpreload | Use the /bpreload command |
buttonsplus.bpcooldown | Use the /bpcooldown command |
buttonsplus.cooldown.bypass | Admin/Cooldown Bypass |
buttonsplus.allmobs | Mobs/Admin = push/create of ALL mobs |
buttonsplus.push | All Action push permissions |
buttonsplus.create | All Action create permissions |
buttonsplus.STONE_BUTTON[.create][.push] | Button create/push for stone buttons |
buttonsplus.WOOD_BUTTON[.create][.push] | Button create/push for wood buttons |
buttonsplus.WOOD_PLATE[.create][.push] | Button create/push for wooden pressure plates |
buttonsplus.STONE_PLATE[.create][.push] | Button create/push for stone pressure plates |
buttonsplus.LEVER[.create][.push] | Button create/push for levers |
buttonsplus.alltypes[.create][.push] | Access to all types of buttons |
buttonsplus.charge[.create][.push] | Action |
buttonsplus.text[.create][.push] | Action |
buttonsplus.command[.create][.push] | Action |
buttonsplus.console[.create][.push] | Action |
buttonsplus.item[.create][.push] | Action |
buttonsplus.gloabalmessage[.create][.push] | Action |
buttonsplus.teleport[.create][.push] | Action |
buttonsplus.mob[.create][.push] | Action |
buttonsplus.heal[.create][.push] | Action |
buttonsplus.death[.create][.push] | Action |
buttonsplus.lightning[.create][.push] | Action |
buttonsplus.cow[.create][.push] | Mob/Action |
buttonsplus.enderman[.create][.push] | Mob/Action |
buttonsplus.chicken[.create][.push] | Mob/Action |
buttonsplus.ghast[.create][.push] | Mob/Action |
buttonsplus.creeper[.create][.push] | Mob/Action |
buttonsplus.sheep[.create][.push] | Mob/Action |
buttonsplus.pig_zombie[.create][.push] | Mob/Action |
buttonsplus.zombie[.create][.push] | Mob/Action |
buttonsplus.giant[.create][.push] | Mob/Action |
buttonsplus.skeleton[.create][.push] | Mob/Action |
buttonsplus.slime[.create][.push] | Mob/Action |
buttonsplus.spider[.create][.push] | Mob/Action |
buttonsplus.squid[.create][.push] | Mob/Action |
buttonsplus.cave_spider[.create][.push] | Mob/Action |
buttonsplus.wolf[.create][.push] | Mob/Action |
buttonsplus.sliverfish[.create][.push] | Mob/Action |
buttonsplus.blaze[.create][.push] | Mob/Action |
buttonsplus.mushroom_cow[.create][.push] | Mob/Action |
buttonsplus.villager[.create][.push] | Mob/Action |
buttonsplus.snowman[.create][.push] | Mob/Action |
buttonsplus.iron_golem[.create][.push] | Mob/Action |
buttonsplus.ocelot[.create][.push] | Mob/Action |
buttonsplus.magma_cube[.create][.push] | Mob/Action |
buttonsplus.witch[.create][.push] | Mob/Action |
buttonsplus.wither[.create][.push] | Mob/Action |
buttonsplus.ender_dragon[.create][.push] | Mob/Action |
really confusing can't you make more simpler permissions???
@N00BER
The perms are simple if you use them correctly, I like how he added more specific perms as an option just in case you had plans in mind for groups. Also, you should work on your English. Using proper grammar makes you seem smarter.
I believe there is no way to remove the buttons you place... I had to use world edit to remove a pressure plate I had set commands on. Hopefully you can fix this in an update.
Can you please make it so when I want to make a button that has a message like, "Looks like <player> didn't read the sign!" it says the players name when I do "<player>." That would be extremely helpful! Thank you.
@PalominosVIP
You are able to break the buttons you place. To do this, you need to break them WHILE holding your shift key down, effectively breaking it while sneaking. The reason this system is in place is so that someone in creative mode can't accidentally break it when hitting at.
When using a global message or normal message, to use the player's name, instead of putting "Looks like <player> didn't read the sign!", try using &p, which is the placeholder for the players name. E.g. if i used "Looks like &p didn't read the sign!", it would output this if i clicked it ""Looks like Albumleaf didn't read the sign!"
Hopefully this helped