ResExtras
This plugin requires Residence
Follow it on GitHub
ResExtras is a addition to Residence that includes limiting and configuring everything you see below. This addition adds more Residence flags to the existing ones built in. For example, don't want pigs to spawn? No problem just set pig to false. Or say you have a mob grinder and spiders are clogging it up, just turn spider to false.
See anything I missed? Comment below or send me code.
Flags:
- portal - prevents users using nether portals
- lightning - prevents lightning strikes
- hunger - prevents users losing hunger
- sprint - prevents sprinting
- fishing - prevents fishing
- sneak - prevents sneaking
- pigzap - prevents pigs turning into pigman on lightning strike
- slimesplit - prevents slimes splitting into multiple slimes
- pigsaddle - prevents the saddling of the precious pigs
- god - prevents users from taking damage and displays sparkles on receiving damage
- blockdamage - prevents entities(Ex: TNT) from harming blocks but still damages other entities
Mob Flags:
- Too many to list, just click here
Commands:
- /ResExtras version - Displays version number
- /ResExtras list - Displays Flag list
How to install:
@jiangtianbei
Would be usefull. :)
@Tonkovich
Excuse me, can you give me version 2.0.4 of the source code? I want to upgrade compatible with version 1.8.
RemovedIs this plugin actually going to be updated?
@Duning
I apologize for the late reply to your question. This is a common mistake that people have been making. I really should add something to notify people. I recommend downloading the most recent development build since I do not remember which download in particular is the best one.
Dev Builds
I'm having this problem:
Residence version: And ResExtras version is 2.0.6 I read down hear thay I may try residence 3.0... where can I grab it? I'm Using spigot 1.8 (This server is running CraftBukkit version git-Spigot-13716d9-0899683 (MC: 1.8) (Implementing API version 1.8-R0.1-SNAPSHOT)) BTW where can I find residence nodes? I can't find the wiki... Thanks :)
@Tonkovich
Thank you very much. I solved the problem.
@wjxhahaha
You can get the most recent builds of Residence 3.0 here. The new version of ResExtras will ONLY work with Residence 3.0
Hi, I keep getting errors after I installed this plugin, 00:50:04 [INFO] [Residence] Enabled! Version 2.6.6.6 by bekvon 00:50:04 [INFO] [ResExtras] Enabling ResExtras v2.0.6 00:50:04 [INFO] [ResExtras] Enabled 00:50:04 [SEVERE] [ResExtras] Plugin ResExtras v2.0.6 has failed to register eve nts for class net.tonkovich.resextras.flags.weather because net/t00thpick1/resid ence/api/events/PlayerChangedAreaEvent does not exist. 00:50:04 [SEVERE] [ResExtras] Plugin ResExtras v2.0.6 has failed to register eve nts for class net.tonkovich.resextras.flags.time because net/t00thpick1/residenc e/api/events/PlayerChangedAreaEvent does not exist. This is when server starts, it won't crash the server but after that, once a player logs in, it starts spamming this error. 00:55:30 [SEVERE] Could not pass event PlayerMoveEvent to ResExtras v2.0.6 org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.ja va:437) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav a:62) at org.bukkit.plugin.TimedRegisteredListener.callEvent(TimedRegisteredLi stener.java:31) at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.j ava:479) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j ava:464) at net.minecraft.network.NetServerHandler.func_72498_a(NetServerHandler. java:362) at net.minecraft.network.packet.Packet10Flying.func_73279_a(Packet10Flyi ng.java:51) at net.minecraft.network.TcpConnection.func_74428_b(TcpConnection.java:4 70) at net.minecraft.network.NetServerHandler.func_72570_d(NetServerHandler. java:233) at net.minecraft.network.NetworkListenThread.func_71747_b(NetworkListenT hread.java:54) at net.minecraft.server.dedicated.DedicatedServerListenThread.func_71747 _b(DedicatedServerListenThread.java:34) at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.jav a:910) at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(Dedicated Server.java:330) at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.jav a:777) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:659) at net.minecraft.server.ThreadMinecraftServer.run(ThreadMinecraftServer. java:16) Caused by: java.lang.NoClassDefFoundError: net/t00thpick1/residence/utils/Utilit ies at net.tonkovich.resextras.flags.sprint.Sprint(sprint.java:22) at sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.ja va:435) ... 15 more As long as I'm moving, it will spam this error. And the flags for resextras wont work, but original residence flag still works.
My residence version is 2.6.6. I can't find the residence 3.0 you mentioned in one comment. What do you think the problem is? Could it be possible to get solved? Thank you very much.**
Tonk, pls edit pickup flag to pickups. Pickup doesnt work like in text above, but pickups do.
@Tonkovich
Finally! That was it! I had Residence 2.x now everything work, thanks!
@rysroma
First of all. Sorry that I have been busy with everyday life, between college, work, etc. My first question is are you using Residence 3.0 with ResExtras v2.0.6?
Authors activity is amazing here. Advice for others: Use 2.0.1 version for 1.5.0 MC.
Hi! I have this issue: net/t00thpick1/residence/api/flags/Flag initializing ResExtras v2.0.6 (Is it up to date?) java.lang.NoClassDefFoundError: net/t00thpick1/residence/api/flags/Flag at net.tonkovich.resextras.FlagManagerExtras.<clinit>(FlagManagerExtras.java:10) [?:?] at net.tonkovich.resextras.Main.onLoad(Main.java:85) [?:?] at org.bukkit.craftbukkit.v1_7_R3.CraftServer.loadPlugins(CraftServer.java:360) [craftbukkit.jar:git-Bukkit-1.7.9-R0.1-1-g5786276-b3085jnks] at org.bukkit.craftbukkit.v1_7_R3.CraftServer.<init>(CraftServer.java:317) [craftbukkit.jar:git-Bukkit-1.7.9-R0.1-1-g5786276-b3085jnks] at net.minecraft.server.v1_7_R3.PlayerList.<init>(PlayerList.java:68) [craftbukkit.jar:git-Bukkit-1.7.9-R0.1-1-g5786276-b3085jnks] at net.minecraft.server.v1_7_R3.DedicatedPlayerList.<init>(SourceFile:14) [craftbukkit.jar:git-Bukkit-1.7.9-R0.1-1-g5786276-b3085jnks] at net.minecraft.server.v1_7_R3.DedicatedServer.init(DedicatedServer.java:126) [craftbukkit.jar:git-Bukkit-1.7.9-R0.1-1-g5786276-b3085jnks] at net.minecraft.server.v1_7_R3.MinecraftServer.run(MinecraftServer.java:436) [craftbukkit.jar:git-Bukkit-1.7.9-R0.1-1-g5786276-b3085jnks] at net.minecraft.server.v1_7_R3.ThreadServerApplication.run(SourceFile:628) [craftbukkit.jar:git-Bukkit-1.7.9-R0.1-1-g5786276-b3085jnks] Caused by: java.lang.ClassNotFoundException: net.t00thpick1.residence.api.flags.Flag at java.net.URLClassLoader$1.run(Unknown Source) [?:1.8.0_05] at java.net.URLClassLoader$1.run(Unknown Source) [?:1.8.0_05] at java.security.AccessController.doPrivileged(Native Method) [?:1.8.0_05] at java.net.URLClassLoader.findClass(Unknown Source) [?:1.8.0_05] at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:77) [craftbukkit.jar:git-Bukkit-1.7.9-R0.1-1-g5786276-b3085jnks] at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:62) [craftbukkit.jar:git-Bukkit-1.7.9-R0.1-1-g5786276-b3085jnks] at java.lang.ClassLoader.loadClass(Unknown Source) [?:1.8.0_05] at java.lang.ClassLoader.loadClass(Unknown Source) [?:1.8.0_05] ... 9 more And than I get spammed by: Could not pass event PlayerTeleportEvent to ResExtras v2.0.6 org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:294) [craftbukkit.jar:git-Bukkit-1.7.9-R0.1-1-g5786276-b3085jnks] at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) [craftbukkit.jar:git-Bukkit-1.7.9-R0.1-1-g5786276-b3085jnks] at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:501) [craftbukkit.jar:git-Bukkit-1.7.9-R0.1-1-g5786276-b3085jnks] at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:486) [craftbukkit.jar:git-Bukkit-1.7.9-R0.1-1-g5786276-b3085jnks] at org.bukkit.craftbukkit.v1_7_R3.entity.CraftPlayer.teleport(CraftPlayer.java:471) [craftbukkit.jar:git-Bukkit-1.7.9-R0.1-1-g5786276-b3085jnks] at org.bukkit.craftbukkit.v1_7_R3.entity.CraftEntity.teleport(CraftEntity.java:200) [craftbukkit.jar:git-Bukkit-1.7.9-R0.1-1-g5786276-b3085jnks] at net.citizensnpcs.api.npc.AbstractNPC.teleport(AbstractNPC.java:398) [Citizens.jar:?] at net.citizensnpcs.api.npc.AbstractNPC.teleport(AbstractNPC.java:423) [Citizens.jar:?] at net.aufdemrand.sentry.SentryInstance.initialize(SentryInstance.java:1028) [Sentry.jar:?] at net.aufdemrand.sentry.SentryTrait.onSpawn(SentryTrait.java:128) [Sentry.jar:?] at net.citizensnpcs.npc.CitizensNPC.spawn(CitizensNPC.java:204) [Citizens.jar:?] at net.citizensnpcs.npc.CitizensNPC.load(CitizensNPC.java:119) [Citizens.jar:?] at net.citizensnpcs.api.npc.SimpleNPCDataStore.loadInto(SimpleNPCDataStore.java:59) [Citizens.jar:?] at net.citizensnpcs.Citizens$2.run(Citizens.java:295) [Citizens.jar:?] at org.bukkit.craftbukkit.v1_7_R3.scheduler.CraftTask.run(CraftTask.java:53) [craftbukkit.jar:git-Bukkit-1.7.9-R0.1-1-g5786276-b3085jnks] at org.bukkit.craftbukkit.v1_7_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:345) [craftbukkit.jar:git-Bukkit-1.7.9-R0.1-1-g5786276-b3085jnks] at net.minecraft.server.v1_7_R3.MinecraftServer.v(MinecraftServer.java:600) [craftbukkit.jar:git-Bukkit-1.7.9-R0.1-1-g5786276-b3085jnks] at net.minecraft.server.v1_7_R3.DedicatedServer.v(DedicatedServer.java:260) [craftbukkit.jar:git-Bukkit-1.7.9-R0.1-1-g5786276-b3085jnks] at net.minecraft.server.v1_7_R3.MinecraftServer.u(MinecraftServer.java:558) [craftbukkit.jar:git-Bukkit-1.7.9-R0.1-1-g5786276-b3085jnks] at net.minecraft.server.v1_7_R3.MinecraftServer.run(MinecraftServer.java:469) [craftbukkit.jar:git-Bukkit-1.7.9-R0.1-1-g5786276-b3085jnks] at net.minecraft.server.v1_7_R3.ThreadServerApplication.run(SourceFile:628) [craftbukkit.jar:git-Bukkit-1.7.9-R0.1-1-g5786276-b3085jnks] Caused by: java.lang.NoClassDefFoundError: net/t00thpick1/residence/utils/Utilities at net.tonkovich.resextras.flags.enderpearl.Enderpearl(enderpearl.java:24) [?:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [?:1.8.0_05] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) [?:1.8.0_05] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [?:1.8.0_05] at java.lang.reflect.Method.invoke(Unknown Source) [?:1.8.0_05] at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:292) [craftbukkit.jar:git-Bukkit-1.7.9-R0.1-1-g5786276-b3085jnks] ... 20 more After 10min my log had 550Mb O_O That causes you plugin, and even when I remove Citizens, I still have this errors.
This workd with CB.7.2-r0.3?
Please update for 3.0 API =D
Oh my god!This is a great plugin!Why not updated?
@timgeel
Thank you for maliciously spreading misleading information and defaming this plugin's status. You really need to think about what you say, before you say it. >_>
[WARNING] [ResExtras] "ResExtras v2.0.5" has registered a listener for com.bekvon.bukkit.residence.event.ResidenceEnterEvent on method "public void net.tonkovich.resextras.flags.weather.onResidenceEvent(com.bekvon.bukkit.residence.event.ResidenceEnterEvent)", but the event is Deprecated. "Server performance will be affected"; please notify the authors [Tonkovich]. [WARNING] [ResExtras] "ResExtras v2.0.5" has registered a listener for com.bekvon.bukkit.residence.event.ResidenceLeaveEvent on method "public void net.tonkovich.resextras.flags.weather.onResidenceEvent(com.bekvon.bukkit.residence.event.ResidenceLeaveEvent)", but the event is Deprecated. "Server performance will be affected"; please notify the authors [Tonkovich]. [WARNING] [ResExtras] "ResExtras v2.0.5" has registered a listener for com.bekvon.bukkit.residence.event.ResidenceEnterEvent on method "public void net.tonkovich.resextras.flags.time.onResidenceEvent(com.bekvon.bukkit.residence.event.ResidenceEnterEvent)", but the event is Deprecated. "Server performance will be affected"; please notify the authors [Tonkovich]. [WARNING] [ResExtras] "ResExtras v2.0.5" has registered a listener for com.bekvon.bukkit.residence.event.ResidenceLeaveEvent on method "public void net.tonkovich.resextras.flags.time.onResidenceEvent(com.bekvon.bukkit.residence.event.ResidenceLeaveEvent)", but the event is Deprecated. "Server performance will be affected"; please notify the authors [Tonkovich].
I get that error, dammit I really need this plugin :S
1.6.4-R2.0 Residence 2.6.6.6