AcControl
AcControl - the Factions-aware air space control for AutoCraft
I like Autocraft and I like Factions. But I wanted the airships not to fly over foreign factions territory - it would have made raiding other bases (on PvP servers) too easy.
Autocraft does not disallow flying over Faction lands and does not offer such a functionality. And thats where AcController comes in. Its basically an Add-On for Autocraft to be factions-aware. If you fly to near to forbidden territory you get unpiloted and thus stopped.
The plugin requires Autocraft and Factions to be installed. In the standard configuration it allows flying airships only over Wilderness, Warzones and your own factions land. But you can change that. Commands are described below.
Since this is a first developer release theres not much documentation yet and there might be some bugs, though I have done quite some testing. Configuration is done by standard config.yml and / or in-game commands.
It works such, that the pilots distance to foreign territory is checked and if he gets too near he is unpiloted. Piloting on forbidden lands is prohibited and blocked as well as turning your ship to have it float over forbidden lands. The distance to keep the pilot (and its ship) away is the possible size of the airship plus a configurable safetyzone. The ship velocity is taken into account and added to the distance when trying to move.
Commands:
- /acc setdebug (true/false) : enables or disables debug output.
- /acc showsettings : List the currently active settings.
- /acc listallowed : Lists all factions you are allowed to fly over.
- /acc setsafetyzone (int) : adds an additional buffer zone to the allowed distance from foreign land where flying is disallowed.
- /acc setallallowed (true/false) : Flying everywhere !
- /acc setplayerfactionok (true/false) : Flying over Players own land allowed?
- /acc setalliedfactionok (true/false) : Flying over allied factions land allowed?
- /acc addallowed (faction tag) : Add a faction to the list of allowed factions to fly over.
- /acc removeallowed (faction tag) : Remove a faction from the list of allowed factions to fly over.
- /acc saveconfig : Save current settings to file.
- /acc reloadconfig : Reload settings from file and overwrite changes you made in between.
Permissions
Permissions default to "OP" - Operators only.
They refer to the commands listed above.
- accontrol.showsettings: true
- accontrol.listallowed: true
- accontrol.setdebug: true
- accontrol.setallallowed: true
- accontrol.setplayerfactionok: true
- accontrol.setalliedfactionok: true
- accontrol.setsafetyzone: true
- accontrol.addallowed: true
- accontrol.removeallowed: true
- accontrol.saveconfig: true
- accontrol.reloadconfig: true
Installation
Put the plugin into our servers /plugin folder and you're good to go. All is set up after server restart.
Configuration
The Default config.yml:
# debug: debug mode - spits out stuff # safetyzone: distance to keep away from disallowed factions with ship in blocks # factions: factions plugin section # PlayerFactionOK: Flying over players faction allowed? # AllAllowedOK: Flying everywhere allowed? (Basically switches off the plugin functionality) # AlliedFactionOK: Flying over allied factions allowed? # AllowedFactionIds: list with Ids of allowed factions - not tags, since tags can change # 0= Wilderness, -1=Safezone, -2=Warzone debug: false safetyzone: 8 factions: PlayerFactionOK: true AllAllowed: false AlliedFactionOK: false AllowedFactionIds: - 0 - -2
Source
Dependencies
- Factions: http://dev.bukkit.org/server-mods/factions/
- AutoCraft: http://dev.bukkit.org/server-mods/orange451-autocraft/
.plan
- minor beautifying, maybe deleting the project if AutoCraft decides to incorporate the functionality I programmed here. No idea ....
Stuff and Blurb
Have Fun ! :)
-
View User Profile
-
Send Message
Posted Dec 21, 2013ANNOUNCEMENT:
Due to time constraints and /me being busy with other projects I decided to not longer maintain this project and abandon it. If anyone wants to take over please contact me.
Cheers Chris
-
View User Profile
-
Send Message
Posted Aug 10, 2013AutoCraft continued: http://dev.bukkit.org/bukkit-plugins/autocraft/
-
View User Profile
-
Send Message
Posted Jul 18, 2013@McYorlik: Do you think you could remove these backdoors and continue AutoCraft? It would be very sad if AutoCraft and AcControl died. They both are really good plugins and Movecraft doesn't have all the PVP features :(
-
View User Profile
-
Send Message
Posted Jul 3, 2013@DivinityCraft
WOW- nasty ... But the source code for Autocraft is out - so maybe someone honest could take over and make clean builds without any backdoors? Good the see the bukkit team is watching ...
-
View User Profile
-
Send Message
Posted Jul 2, 2013orange451 has been banned by Bukkit for putting developer backdoors into AutoCraft, and the plugin has been deleted from Bukkit as well.
-
View User Profile
-
Send Message
Posted May 15, 2013@Oblivion4ever
I'd need more information so say anything. Maybe you could describe the problem a bit more in detail?
-
View User Profile
-
Send Message
Posted May 15, 2013Hi
I have got a probleme I put AcControl in my plugin files I run my server but i cannot intall him
Do you know what a I doing ?
Excuse me I am not French
-
View User Profile
-
Send Message
Posted Apr 6, 2013@McYorlik
Thanks a lot, we will use the plugin as it is until then. BoatMod support would be amazing as well.
-
View User Profile
-
Send Message
Posted Mar 25, 2013@DivinityCraft
Sorry - I was very busy these days - could take a while. But the source code is open - so its easy to modify if anyone wants to. I'll change it once I have time.
-
View User Profile
-
Send Message
Posted Mar 25, 2013@DivinityCraft
Sorry - I was very busy these days - could take a while. But the source code is open - so its easy to modify if anyone wants to. I'll change it once I have time.
-
View User Profile
-
Send Message
Posted Mar 24, 2013Could you please add a setting to enable flying over enemy/neutral land as well? We only want the plugin to stop people from flying over warzones/safezones but still be able to get past walls with expensive iron aircraft.
-
View User Profile
-
Send Message
Posted Mar 24, 2013Maybe you should join forces then? Together you can integrate this into Autocraft itself and perhaps work together on adding even more new things after that.
-
View User Profile
-
Send Message
Posted Jan 13, 2013@GarretSidzaka
:)
-
View User Profile
-
Send Message
Posted Jan 10, 2013oh sweet! we created Autocraft and we were just about to create this, but you did it for us!!! THANKYOU VERY MUCH XD
-
View User Profile
-
Send Message
Posted Jan 10, 2013I uploaded release 0.4 dev - after approval by the Bukkit dev team it will be available for download here:
http://dev.bukkit.org/media/files/663/951/AcControl.jar
This fixed a major bug where it was possible to circumvent the controller by using commands I hadn't looked at before.
Thanks to user miningcraftlt to point me towards this bug.
I want to ask all people who use this plugin to really test it now for exploits and glitches. Though I believe there are no grave bugs now, but one never knows ...
-
View User Profile
-
Send Message
Posted Jan 10, 2013@lennardfleischer
I'd suggest to request this in the original AutoCraft mod first, since this looks like an addition to the core functionality. Though I could code it I think its place would be better in the original plugin.
-
View User Profile
-
Send Message
Posted Jan 10, 2013Please add Flaks so when a enemy ship flys over the Flak its getting destroyed
-
View User Profile
-
Send Message
Posted Jan 8, 2013@McYorlik
I know the feeling, good luck.
-
View User Profile
-
Send Message
Posted Jan 7, 2013@Dibujaron
Thanks! I'll have a look into it - but honestly I can't promise much - in the moment I have quite a load of work in real life and will be busy enough with making my plugins run smooth and be real 1.0 releases.
-
View User Profile
-
Send Message
Posted Jan 7, 2013@McYorlik
http://dev.bukkit.org/server-mods/ships/
http://forums.bukkit.org/threads/fun-boatmod-v12-make-large-groups-of-blocks-move-1-4-5-r0-2.19067/