Residence Fly
Very simple plugin adding fly ability to your Residences
Requires
Why the plugin
Some people on my server creates some large nice projects, but its tiring to build something big without flying. You could just add them fly ability, but it will only increase server load when someone will randomly fly over map, or fly to town because it's lazy to type /warp town, and some other player don't want anyone to fly/walk over their residences, that's why i just give them ability to fly but only on their Residences, everything else is pure survival.
What does it do
It adds "fly" flag to Residence plugin, that you can add to your residence. If player have "fly" flag on residence that is in, then it can fly like on creative, if he leaves it, then hi will fell down.
It disable itself when someone is OP or have essentials.fly perm, to not fall every time you fly over other residences.
Now you can set fly on world and disable on residences - beta untested
Configuration
- debug - display debug in console, default: false
- nodamageticks - time in server ticks to prevent fall damage, default: 100 (5s)
- inheritfly - inherit fly from subzone : false use enherit from Residence config
Everything you need to do to set fly flag or allow players to set flag on their own in Residence config.
Commands
- /resfly - toggle console debug
Permissions
- resfly.ignore - player with this permission will be ignored, will not get or lost fly ability, to use with other fly plugins
- resfly.toggledebug - access to /resfly command
- resfly.dontfall - will not disable fly if you are currently flying of your residence, for admins
Future Idea
Prevent damage from fall- done- Activate fly by command - to have fall damage on "fly" residences
Allow fly on world, disable on residences, now only fly on residencesdone
How to install
Just drop the jar file in your plugins directory and restart your server.
How to use
Do not type any commands, do not set any permissions!
After install admin just type for example /resadmin set [residence name] fly true, and anyone who gets to that residence will be able to fly like in creative (2xSpace). But read http://residencebukkitmod.wikispaces.com/Command+List
Setting permission 'resfly.ignore' or giving OP disables the plugin , that will not give or take fly ability.
Optionally if you want your players to be able to set the flag by them self's or to be default on residence, check Residence config.
Source
Included in jar
Known Bugs
None
Suggestions
Do you like to change something? PM me :)
@kolorafa
I am a Chinese not English Problem is that I input/res [residence name] fly true The display is/res? For more I really don't know how to do it help me
@a749041304
Don't understand, maybe write more? :)
display /res ? for more info Can reply to me?
@tiagosmx
From your description i can only suggest that you did write fly to wrong place, so read Residence wiki or post ticket with more information / full configurations / etc.
How do I set players to be able to set the flag by them selves on their residences? I tried writing fly: true on my config.yml in /plugins/Residence folder but i get some java errors when starting the server and fly flag don't work.
Thanks it works. I just dont tried it beacuse i thought it's outdated.
@tomori_peti
Doesn't not work?
If doesn't post ticket :)
Update pls to 1.4.6!!!
@tdbruce34
Not exactly understand, why your players have op? as i know ip is only for operator, it gives to much of permissions as someone need.
Why i decided to ignore ops? because this plugin will disable fly every time entering/leaving residence, it doesn't mater that it used /fly or some other fly enabling commands, if will disable and that's all, and this is crazy to fall down when op fly over someones residence even without knowing, or fall down 50 times when flying to something.
So my question, why did you give someone ops? Why not create ''admin group" and add only that what they need?
It disable itself when someone is OP or have essentials.fly perm, to not fall every time you fly over other residences.
This keeps my OPs from falling when they leave a residence, correct? I want my OPs to have to abide by the same rules as everyone else and I don't want resfly to ignore them because they're OPs.
Basically, I want my OPs to fall if they leave the residence. I want this to be used ONLY for building large structures with no other benefit. (I have all the other benefits from the /fly plugin turned off)
Sorry I wasn't clear earlier. Did this make more sense?
@tdbruce34
I don't exactly understand what you mean...
You can install some plugin to /fly and give ops access and disable this for them, or add them dontfall flag so they will get fly but will not fall down :)
Is there a way to keep this from ignoring OPs so that they are able to use it without having to switch to creative to fly?
@tdbruce34
Working well as well in 1.3.2 so feel free to install it even if i don't update version numbers :)
Does this work with 1.3 or will we be getting an update for 1.3?
@Xeliya
1. Create ticket
2. PM me your server address
3. What about welcome and leave message? Do you see only welcome message or see leaving message before welcome?
While this plugin is very useful for my players, it can very easily be dupped into allowing them to fly outside their/a residence.
One of the ways is too simply quickly walk in and out of a residence until it doesn't disallow your flight.
EDIT: Said bug is now fixed.
I'm having an issue with this plugin where it allows players with permission to fly in a residence with subzones to fly outside the residence. I have double checked all permissions, and it works fine on residences without subzones.
Please fix this, because other than that this plugin is really helpful and great!
It seems this only applies to subzones I edit in the Residence Save files but still.
- EDIT -
To not make another comment. I'll just add on to say that said 'bug' is now fixxed!
@iiggiizz
What does debug say?
(type resfly in console to enable debug, and try entering residence with fly flag)
Doesnt work at all for me.
Do they have permissions?
Because it ignore players who are OP or have essentials.fly permission. And add/remove fly on enter/leave residence, not on flag change. Do you have any errors in log?
It is to simple program, but as i see i need to add Debug option, then you will be able to check the simple mistakes. I did build and tested it on: [Residence] Enabled! Version 2.5.6 by bekvon craftbukkit-1.2.5-R1.2-SNAPSHOT.jar (CraftBukkit version git-Bukkit-jenkins-CraftBukkit-198 (MC: 1.2.5))