ResProtect
ResProtect
Current Version: 1.1
If you would like to see this in action, visit our servers website at: www.almuramc.com
See more of Dockter's plugins at Here.
Overview
ResProtect adds custom protection flags to protect Animals and Villagers inside of protected residence area's. New flags = [mayor] & [butcher].
- mayor = Villager Protection.
- npctrade = Villager Trading
- butcher = Animal Protection.
- chat = Chat Filter.
- stormdamage = Prevents lightning damage to players and other entities in the protected area.
- portal = blocks portal creations (world flag only)
- egghatch = Prevents or Allows Egg Hatch
- shear = Prevents or Allows Sheep Shearing.
- form = Prevents or Allows Snow and Ice to Form.
- melt = Prevents or Allows Melting affects.
- soil = Prevents tilled soil from revert back into dirt.
- safezone = Prevents mobs from targetting the player.
- mo-ambient = Prevents ambient Mo-Creatures from Spawning.
- mo-monsters = Prevents Monster Mo-Creatures from Spawning.
- mo-passive = Prevents Passive Mo-Creatures from Spawning.
- mo-aquatc = Prevents Aquatic Mo-Creatures from Spawning.
Configuration
EnableSnowChangeEvents: false PreventAllSnowForming: false EnableLightningDetection: true EnableChatListner: true EnableForgeHooks: true EnableMoCreaturesHooks: true
EnableSnowChangeEvents: Monitors Melt and Snow Events use with caution!
EnableLightningDetection: Monitors Lightning Events and Cancels them for specific res areas or worlds.
EnableChatListener: Monitors Chat Events and Cancels them for specific res areas or worlds.
EnableForgeHooks: Hooks into Cauldron enabled server.
EnableMoCreaturesHooks: Hooks into Mo-Creature Spawns.
How to Use?
Install the ResProtect plugin into your servers plugin direction and start your server. You'll need to modify your Residence config.yml to add the new custom flags under Global, FlagPermission, ResidenceDefault and CreatorDefault.
Support
Support for this and all other AlmuraDev plugins can be found by joining our chat channel here:
Dependencies
- Residence 2.6.6.6 or Residence 2.7-Forge
could i help you with a project i would love to learn how to develop and i would love to learn from you
Please add support for Minecraft 1.8 entities. I have found this plugin to cause some of the following errors, since it doesn't know what to do with these entities.
I would also like to be able to toggle messages sent to the players when they attempt to kill animals and trade with villagers, as Residence does not send messages to players when they break a block or open a container. Along with a flag for interacting with ArmorStands and ItemFrames.
Can you add support for protecting Item Frames?
I have pushed another update for ResProtect. This version is intended to be used with a Cauldron Server. It also hooks to Mo-Creature spawns.
Fixed loading issue. Tested under 1.7.10 Cauldron only.
Hello!
This is a great plugin and really enjoy having it! This plugin used to work but has recently stopped working and has created an error on startup. I am also getting an error with Residence if this could be possibly causing it?
I have recently added a VIP group to my residence config.yml, I am unsure if this could have caused it. THANKS!
If someone could please help I have the files here:
Residence Error: http://tny.cz/22fdd1e8 ResProtect Error: http://tny.cz/551322ce
Residence Config.yml: http://tny.cz/e44578fb
@BlockTilt
getting this as well.
Also getting NPE from villager trading.
cuales son los nodos y permisos ayuda
Can you update this plugin? I can't load this plugin on my server...
Can you make the source for this available?
ResProtect 0.7 when trading with villagers outside of a residence (1.4.2)
21:15:13 [SEVERE] Could not pass event PlayerInteractEntityEvent to ResProtect v0.7 org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:341) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:1033) at net.minecraft.server.Packet7UseEntity.handle(SourceFile:36) at net.minecraft.server.NetworkManager.b(NetworkManager.java:282) at net.minecraft.server.NetServerHandler.d(NetServerHandler.java:111) at net.minecraft.server.ServerConnection.b(SourceFile:35) at net.minecraft.server.DedicatedServerConnection.b(SourceFile:30) at net.minecraft.server.MinecraftServer.r(MinecraftServer.java:570) at net.minecraft.server.DedicatedServer.r(DedicatedServer.java:215) at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:487) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:419) at net.minecraft.server.ThreadServerApplication.run(SourceFile:818) Caused by: java.lang.NullPointerException at com.almuramc.resprotect.EntityTradeListener.onPlayerInteractEntity(EntityTradeListener.java:56) at sun.reflect.GeneratedMethodAccessor122.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:339) ... 14 more
since resprotect my users cant click on villlagers. I set npctrade: true to config ..global..flagperm.. etc
Tried all three versions .4/.5/.6, no chickens are spawning when eggs are tossed in non-protected resident areas.
Have tried tossing some 300 eggs in a non-resident area and nothing spawns. Remove plugin from server, instantly get 1 chicken average per 8 eggs tossed. Using residence 2.6.4. Hoping there is something I missed, or a easy solution to the problem, great plugin for protecting animals.
Also not allowing the prevention of sheep sheering. With Shear set to false, still able to shear sheep.
I will investigate this tonight
@BlockTilt
I feel the same there any solution?
npctrade doesn't seem to be working. nobody can trade with NPC's anywhere regardless of flag settings or if they're in a res or not
I can't get this plugin to work with 1.3.2 but i guess that's because latest version is said to only work with 1.3.1 so please update thank you.
so itshould be
global: trample, butcher, mayor false and creator default true?
@dockter
Thanks. :)