Gorea Restrict
This plugin does:
- Very lightweight plugin and does what it should do (cauldron supported too)
- Bans items from use (left-click, right_click configurable)
- Restricts per world with custom messages send to player.
- Generates a banned-list automatically, (highly configurable )
- Remove items or blocks on interact
Commands:
See ingame help for a more accurate information
- Aliases: gr, grestrict
- /gr help , /gr ? : shows basic help for the plugin
- /gr ban help : shows advanced help on how to use this plugin( with examples)
- /gr ban <*> : Bans the item in your hand globally
- /gr removeitem <*> - Will toggle item removal on/off for this item when used by players.
- /gr removeblock <*> - Will toggle block removal on/off for this block when used by players.
- /gr info <*> - Shows info about the item in hand if banned (this command is usable by all players)
- /gr click <*> - Toggle the click types the user should be restricted (all,left,right)
- /gr world <*> [add/remove] [worldname/this/all] - this command was here before but it is changed a bit
- /gr message <*> <text> : The message to display when players tries to use the item in your hand.
- /gr name <*> <text> : The name to display for this item when players use /banneditems
- /gr show <*> : Will toggle display on/off for this item in /banneditems.
- /gi reload : reloads configs
- /banneditems or /bannedlist: display automatic generated banned items list, if you want to add more informations please see config file and modify or add new lines to "Extra info for banneditems".
Use the <*> when you want to ban all variants of that item
Permissions:
Use ingame command while holding the item : /gr info <*> and will display all the information you need including the permission node for that item
- gr.ban - can ban items with in-game commands
- gr.reload- can use /gr reload
- gorea.interact.itemName.DamageValue - player with this permission can use that item anywhere
For servers having problems with permissions (like using pex) change in configs Use 'permissions: false' so only op players will bypass
Examples permissions:
- - gorea.interact.COMPUTERCRAFT_1225.0
- - gorea.interact.MYSTCRAFT_BLOCKBOOKBINDER.*
- - gorea.interact.CCTURTLE_1227.*
- - gorea.interact.DRACONICEVOLUTION_TELEPORTERMKII.*
- - gorea.interact.TCONSTRUCT_JAVELIN.*
Use ingame command /gr info <*> to see the correct permission for each item banned. <*> is optional if you banned with * = all damage values
Download only the latest version , should work for all minecraft versions above 1.4.7
To do list:
- - waiting for suggestions
Metrics Collection
This plugin makes use of Hidendra's plugin metrics system. The following information is collected and sent to mcstats.org unless opted out:
- A unique identifier
- The server's version of Java
- Whether the server is in offline or online mode
- Plugin's version
- Server's version
- OS version/name and architecture
- core count for the CPU
- number of players online
Metrics version You can opt out of sending Metrics by editing plugins/Plugin Metrics/config.yml and changing opt-out to true.
In order to convert from UUID to username, this plugin makes an external connection to the official Mojang API service.
Update Checking
- This plugin utilizes Gravity's update checker to notify when a new version of the plugin is out, it will not automatically download the new version. It also notifies the admins that a new plugin version is available. This can be enabled ordisabled in the config.yml. To disable update-checking, set updates.check-for-updates to false. To disable admin notifying, set updates.notify-admin to false.
Please leave a feedback if you find this plugin useful or if you need more ideas for it.
Or if you feel like buying me a coffee there is the "donate" button on top right corner of this page
wow..i didn't even know people posts questions here too
sorry for delay
thank you slowiu06 for replying to chunk_TV,and you are right on both points
I have a different plugin to block Thaumcraft wand focuses as it is tricky and works with nbt.
If anyone else needs help with one of my plugins, i can be contacted on teamspeak: goreacraft.com
Nice plugin! On my serveur, I diseabled the Strong Potion II but players can put the potion in a dispenser and use it. Possible to add something in your plugin for that ? Nice again :)
@oOCoolBlehOo
probably it might work if you ban only the left click on the farming land and allow right-click, so players can place new crops
/gr click <*> - Toggle the click types the user should be restricted (all,left,right) remember to have the block in your hand you want to apply the new settings on( in your case the farming land block)
@goreacraft:
Hello, I have a wheat farm on my server for a certain rank and I use world guard for the farm. Yet I want the players to break wheat but not break the farmland right below it. So I decided to ban use of break on farmland using your plugin. But, players cant place the wheat back on the farm land, is there a way around this. Please let me know as soon as possible!
-oOCoolBlehOo
@edcsg
"After a period of time. This is a good item. Can I share it with the Chinese MCBBS forum? I want more people to share it."
I don't understand exactly what you asking here.. but if it about distributing on other forums.. i don't agree with it, please just provide link to here instead of giving the file directly
@edcsg
that error is because i forgot to check if you don't add the necessary argument in the command, it is harmless (will fix it in a next update) just type /gr help instead of just /gr
@goreacraft
After a period of time. This is a good item. Can I share it with the Chinese MCBBS forum? I want more people to share it.
Sorry, I don't understand English. This is the language of computer translation. I hope you can understand.
@goreacraft Server version: Forge Mod Loader version 7.10.114.1388 for Minecraft 1.7.10 loading
ErrorMessage:
[20:28:01] [Server thread/INFO]: fuzhu issued server command: /gr [20:28:01] [Server thread/ERROR]: null org.bukkit.command.CommandException: Unhandled exception executing command 'gr' in plugin GoreaRestrict v3.1 at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) [PluginCommand.class:git-Cauldron-Reloaded-1.7.10-1.1388.1.0] at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:181) [SimpleCommandMap.class:git-Cauldron-Reloaded-1.7.10-1.1388.1.0] at org.bukkit.craftbukkit.v1_7_R4.CraftServer.dispatchCommand(CraftServer.java:717) [CraftServer.class:git-Cauldron-Reloaded-1.7.10-1.1388.1.0] at net.minecraft.network.NetHandlerPlayServer.func_147361_d(NetHandlerPlayServer.java:1317) [nh.class:?] at net.minecraft.network.NetHandlerPlayServer.func_147354_a(NetHandlerPlayServer.java:1099) [nh.class:?] at net.minecraft.network.play.client.C01PacketChatMessage.func_148833_a(C01PacketChatMessage.java:38) [ir.class:?] at net.minecraft.network.play.client.C01PacketChatMessage.func_148833_a(C01PacketChatMessage.java:53) [ir.class:?] at net.minecraft.network.NetworkManager.func_74428_b(NetworkManager.java:244) [ej.class:?] at net.minecraft.network.NetworkSystem.func_151269_c(NetworkSystem.java:173) [nc.class:?] at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:980) [MinecraftServer.class:?] at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:430) [lt.class:?] at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:798) [MinecraftServer.class:?] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:658) [MinecraftServer.class:?] at java.lang.Thread.run(Unknown Source) [?:1.8.0_65] Caused by: java.lang.ArrayIndexOutOfBoundsException: 0 at com.goreacraft.plugins.gorearestrict2.BanCommand.onCommand(BanCommand.java:109) [?:?] at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) [PluginCommand.class:git-Cauldron-Reloaded-1.7.10-1.1388.1.0] ... 13 more
@edcsg
I am using this plugin on cauldron and works just fine, i need more details about if files got generated correctly... pastebin with config.yml would be good( Os, server log...)
Chinese:这似乎是一个伟大的插件,十分感谢你 English:Seems to be a great plugin,Thank you very much.
But on the 1.7.10 Cauldron administrator input /gr will appear error
@linkinkov
i don't think i will make a version with this option public as it will be more resource intensive compared to what i intended so if you want it please look for me on my teamspeak ip: goreacraft.com
as for payment.. there is no need for this, i made this plugin public to give back to community something as i got allot from it already ( all i know about making plugins is with the help of tutorials other made) i will gladly make it for you for free, and if you think i deserve a caffee.. feel free to chip in
Hello! Thank you for great plugin.
Possible add funtion for restrict use some item on another block? For example restrict DiamondDrill (from IC2exp) to interact with ForgeMicroblocks (slabs)? I can donate for that function.
Works really great - easy to manage and finally solved the ender arrow trolls on my FTB Sky Factory 2 server! :) I had some trouble when I used it for the first time (caused by myself, not the plugin) and the creator was able to help me in a very friendly and professional way.
So all in all I can just highly recommend the plugin for everyone, that wants to block some items easily - also have a look for other plugins made by him.
@chulitojaume
i wanted to make a plugin for this issue for a long time.. but there are some problems that can go wrong: - what if another player breaks the quarrie - what if that quarry is mined by someone else - what if a turtle mines that quarrie so i need a safe way to make sure players have the exact quarries at every time and active, witch is a bit more complex and i didn't see it as very necessary for now, maybe i will take the challenge later because it is not impossible
Hi, i have a suggestion. I like to restrict X items per player, with permissions, like user can only put X item X times, and another user with other permissions can put more times. This is for a modded server, because i want the user to put one quarry, and another group two. Sorry for my english.
@HalestormXV
This plugin is for removing the use of nasty items from use per world, to add functions like you ask on it will make it too heavy on resources for ppl who does not need them.
For what you ask it can be done with another small plugin to work like an addon for GP, i have something similar but for towny. If you need it that badly please contact me on teamspeak and i can try adjusting it to work for your needs.
The ts ip you find it in this plugin config.
This is an outstanding plugin. I have one question. Is there a way to make it work with Grief Prevention, so that you cannot use certain items while in a persons claim?
I am running a Cauldron server with mods and this is my GoTo plugin. As well as GriefPrevention to prevent people from greifing.
1)use /gr ban * - to all damage values or without * to specified value
2)use /gr world add this/worldname
You have to hold item which you want to ban.
It's impossible to restrict Thaumcraft wand focuses with this mod ;/
So we're trying everything, and all we want to do is restrict an item from a single world. Though it seems like the command doesn't register whatsoever. It just gets banned across all worlds no matter what.
[15:53:55] [Server thread/INFO]: Jecke issued server command: /gr ban 5146:* W:world
/gr world <*> [add/remove] [worldname/this/all] - this command was here before but it is changed a bit
/gr removeitem <*> - Will toggle item removal on/off for this item when used by players.
/gr removeblock <*> - Will toggle block removal on/off for this block when used by players.
^^ None of these seemed to do the trick either.
Can visit our teamspeak if you want to explain easily what we're doing wrong: ts.chunktv.com:10064
@linkinkov
you should do some research about worldguard flags, it has something like you want
@McKenzie87
That is exactly the reason why tekkitcustomizer is more CPU intensive, because it has the things you ask..., this plugin is intended to be a very light plugin to only restrict items on use
"and maybe even a world ban, so the plugin checks for the item in the worlds and removes them automatically. means you don't have to go find those banned items." = now with latest update it even removes items or blocks on use, and items can be banned per world
For removing recipes do some research on MineTweaker3, it is so good that makes any other plugin redundant (reason i removed recipes feature)