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:
@123Craftersss123
Something doesn't work?
If YES, then create ticket and describe the problem. :)
Please update!
I find it a little funny how there's a flag to prevent breaking vehicles, but no flag to prevent placing vehicles. So if someone at a residence with this flag placed a mine cart on accident, we'd all know who'd be getting one free minecart. (The owner.)
However, I don't think you have to worry about adding a flag to prevent vehicle placements just yet, because I made a comment on the main Residences page about how this feature should be included in the "build" flag. This plugin is more for the "quirky" or "important in a specific situation" flags, than for the "essential, generic, must-have" flags. And I consider blocking vehicle/painting breakage/placement under the "build" flag to be essential.
But if for some reason, TOOTHPICK decides not to cover entity protection (vehicles, paintings and itemframes), then I'll make the suggestion here.
@JonRetribution
This is because ResExtras is still listening on a deprecated API for Residence. Currently the stub for it is still there so it still works perfectly fine. It will be moved over to the new API eventually.
Latest 1.6.2 spigot build:
16.07 11:51:04 [Server] INFO [ResidenceSigns] Successfully Enabled. 16.07 11:51:03 [Server] INFO [ResidenceSigns] Enabling ResidenceSigns v2.9 16.07 11:51:03 [Server] 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]. 16.07 11:51:03 [Server] 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]. 16.07 11:51:03 [Server] 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]. 16.07 11:51:03 [Server] 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]. 16.07 11:51:03 [Server] INFO [ResExtras] Enabled 16.07 11:51:03 [Server] INFO [ResExtras] Enabling ResExtras v2.0.5
@Darius013
The portal flag only disallows players from using portals not making them. You are looking in the wrong place.
I cant create a nether portal in my residence i have all flags to true, portal, ignite, firespread etc and when I ignite te portal doesnt do anything, help! (I have op permissions and i use /resadmin) and by the way I have in default people who create their residences to not create nether portals how does this affect me?
@sunspark_
It just appears that the cancel event is under the flagperm if statement. There's no {} after the if so it only looks until the first ;.
The tabbing of the document suggests the setcancelled event is with the flagperm if, when in reality it is with if(Entity instanceof Squid)
@sunspark_
The way he wrote it, is if the flag is false, it should cancel the event, so when its true, it returns before the cancel
Are you sure the flags to prevent mobs from spawning do work?
The code looks like this:
Since the 'return' is before the 'setCancelled', the event is never cancelled.
hope can update plugins.it really help a lot.
@DerSeegler
The same message for me. But if it´s okay than I will ignore it.
@Tonkovich
Sure. I have a PVP world with warp in 20x20 residence, where people can't punch each other, they have to be out of residence. But if one using a bow, he can be inside a protected area and shooting on people outside this area.
It's really annoying.
@DJTomek
Would this "bow" flag disable or allow the use of bows?
Is possible to add flag "bow"?
@DerSeegler
It's safe to ignore that and use ResExtras, but in the future something may stop working so it need some changes :)
Hi im getting this message with Bukkit version 1.5.2 R1.0 and Residence v2.6.6.5
[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.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.time.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].
@JulianMaker
Stop advertising your server.
Hello !, nice plugin , really nice :D
The ip of my server is 5.226.171.118
@jozefmery
@jozefmery
@CommodoreAlpha
@jozefmery
@NRJ1998
Since I've been busy this whole week since my school year is almost ending I have finally found time to work on your ideas and should be able to implement all of them. Hopefully Ill have a build with all of your guys ideas by the end of the day. Keep it up :D