• • 1/1/15 7:04 pm
- 5.7k views • 0 today
- save_alt 644 downloads
- Game Version
- Minecraft 1.7.10
- Progress
- 100% complete
Added CreditTeach2Minecraft
25
Do you want your donors to have special commands? Don't want to download a ton of plugins for just these simple commands? well then here you go, this plugin allows you to access all GUI blocks except for commandblocks. (will be added next version) This means they can open thier furnaces, workbenchs, etc.
Know Bugs:
Permission Nodes:
Know Bugs:
- none :D
Permission Nodes:
- vipgui.msg - To list commands
- vipgui.workbench
- vipgui.funace
- vipgui.enderchest
- vipgui.enchant
- vipgui.brewing
- vipgui.trash
- vipgui.player
- vipgui.permission
- vipgui.aliases - To List aliases
- /vipgui - List Commands
More like this
3188973
7



Have something to say?
if(!(sender insatnceof Player)) return;
Add this line bfore casting and will disalow the console to use any commands
if (cmd.getName().equalsIgnoreCase("vipgui"))
{
if (args.length == 0) {
if (p.hasPermission("vipgui.msg"))
would be
Player p = (Player)sender;
if (cmd.getName().equalsIgnoreCase("vipgui"))
{
if (args.length == 0) {
if (p.hasPermission("vipgui.msg"))
if(!(sender instanceof Player)) return;
Check has to go over casting and onCommand method returns boolean so your return has to be false or true "/