BlockPerms
BlockPerms
Overview
Hello! This is a plugin that thepowderguy and I have been working on for a few weeks. You can use it to block certain basic functions, and allow certain people to do certain things with permissions. You can enable and disable following functions at will with ease.
- Potions
- Farmland trampling
- Lava placing
- Endercrystal explosions
- ... Plus more to come!
Commands
BlockPerms contains a configuration file to disable and enable certain features. For ease of access, we have integrated the ability to control the config from in-game using commands! You can also reload the config. Here are the commands.
- /bp (or /blockperms) gives you help on the command interface
- /bp [config|reload] (Item) (Value) In this, Item and value are only needed when you use config. Reload reloads the configuration file. When using config, the item is the config item you want to modify, and value is the value you want to set it to.
Config
Now to tell you about when you can enable / disable using the configuration file! The following section contains config options and what they do, along with the default value.
PotionDenymsg: You don't have potion permissions. # Message to send to a player when they try to use a potion BlockDispenser: true # Weather or not to block splash potions fired from a dispenser LavaDenymsg: You don't have lava permissions. # Message to send a player when they try to use lava PreventTrampling: true # Weather or not to block farmland trampling TramplingMessageOn: false # Weather or not to display farmland trampling message TrampleMessage: You can't trample farmland. # Message to send player upon trampling farmland if TramplingMessageOn is true PreventEnderCrystals: true # Weather or not to prevent endercrystal explosions CrystalHitMessage: You may not hit crystals. # Message to send a player when they try to blow up an endercrystal and # PreventEnderCrystals is true
Permissions
There are also permissions that you can give to people to allow certain people to do certain things. The permissions are as follows.
- blockperms.* - Allows player to do anything involving the plugin
- blockperms.potion.* - Allows player to do anything with potions
- blockperms.potion.drink - Allows player to drink potions
- blockperms.potion.throw - Allows player to throw potions
- blockperms.lava.* - Allows player do anything with lava
- blockperms.lava.place - Allows player to place lava
- blockperms.command.* - Allows player to use all blockperms commands
- blockperms.command.reload - Allows player to reload the config
- blockperms.command.config - Allows player to edit the config
Source
This plugin is an open source plugin! Feel free to overview the source code Here! Also feel free to make any suggestions for what to improve on!
Stupid bukkit. They changed the way you have to format the plugins. I will try to push an update (maybe tomorrow, no promises) that will fix the format and maybe find another thing to do such as enchantment blocking or something weird like that.
I should probably look through the new bukkit API docs. See if I can optimize anything for 1.7.9 or find an easy way to implement a new feature. Been a while since I updated this.
What happend to ToolAndFoodFX? (http://dev.bukkit.org/bukkit-plugins/ToolAndFoodFX)
@thepowderguy
It only said it should take a few days if it is badly obfuscated, and I don't think I obfuscated it at all.
@2insanepeople
I think it takes a few days
Blah. Why am I not getting a response?