Home›Java›Mods›niProtect
niProtect
ModsJava

niProtect

Java mod listed for Minecraft 1.7–1.11. Downloads from the MC Java Mods app on Android.

⬇ Download on Spigot
[​IMG] ​

Ever wanted to give your server donators something special? Like allowing only donators to break a spawner, and allowing only certain players to place beacons?
Or maybe you don't want your players to drop gold ingots?
Oh, wool burns too much?
Or someone uses pistons to push or pull diamond blocks?
With this plugin, you can disable any of this, for specified player, group, etc.
And yes, plugin supports items and blocks from mods.

Spoiler: Command list
/np - general plugin help.
/np protect <list> - adds item in the hand to the protected list <list> .
/np protectinv <section> - creates a new protected section dfor enventory restrictions with name <section> , for inventory you'll open after the command.
/np protectinvitems <list> - same as previous command, but allows specifying which items will be restricted in this inventory.
/np view <page> - opens GUI with all protected items and their description - if you can use them, and what is restricted. <page> starts at 0.
/np reload - reloads config, language and protected item list. Using this command after creating a new list is almost a must-do.

Spoiler: Permission list
nipro.reload:
description: Allows the player to reload the plugin.
default: OP
nipro.protect:
description: Allows the player to add protected items from the game.
default: OP
nipro.list.*:
description: Allows the player to use all items.
default: OP
nipro.view:
description: Allows the player to view banned item list.
default: true

Syntax to give user permission to use items from list: nipro.list. <list name, without brackets>
Syntax to give user permission to use certain item: nipro.LOG:0
(Material :D urability)

FAQ's on plugin down here.

Spoiler: How to restrict an item
HOW TO RESTRICT AN ITEM.
Let's say, we want to restrict yellow wool.
We take it in our hand, and type /np protect listforwool
[​IMG]
Yay, cool!
Now, because ' listforwool ' didn't exist before, we must type /np reload .
After this, let's go to our protected.yml file.
That's how it should look.
[​IMG]
"But oh my god, what do all those options mean", you say?
Pretty simple.
False means restriction is not enabled, true means it's enabled. Currently this list does nothing. But let's disallow players from placing this damn wool!
Change PLACE to true, save config and type /np reload .
And now, if a normal player will try to place yellow wool, he will get this:
[​IMG]
Let's type /np view and see what it shows.
[​IMG]
Looks like we are good!

HINT: If you want to restrict all wool with just one item in the config, change DURABILITY to -1.

Spoiler: How to restrict inventory
Let's say, we want to disable right click in brewing stands. Why? Because we can.
Let's type the command /np protect brewingstand (any unique name is ok), and after that open the brewing stand:
[​IMG]
Now, because ' brewingstand ' didn't exist before, we must type /np reload .
After this, let's go to our protected.yml file.
That's how it should look.
[​IMG]
"Oh my, how much stuff. What do i do?"
Slots section represents slots in which those restrictions will work. If you don't know which id's they have, type /np debug and click some of them.
I already checked, brewing stand slots are 0, 1, 2, 3 and 4.
Right-click actions are "pickup half" and "place one".
Setting those to true , so they work, save config and type /np reload .
[​IMG]
Right click actions don't work, we did it!

Spoiler: Removing protected item
If you protected something wrong, the way to remove item is:
Before:
[​IMG]
After:
[​IMG]
Save file, and type /np reload to apply.

Commands

Plugin details

Read from the plugin's own plugin.yml.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

niProtect is a free Minecraft Java mod. Compatible with Minecraft 1.7, 1.8, 1.9, 1.10 and newer. Downloaded 175 times (via Spigot). Download it and open it directly in the game.

Explore more