The plugin introduces the concept of "regions" and of "flags". Regions are areas defined by you where flags apply. Flags are something like "options" for regions. For example, you can enable/disable godmode inside your regions with them.
You can use this plugin to create shops, safezones, protection for player bases, etc.
Everything was made with configurability and performance in mind.
This plugin has exactly zero impact on your server performance, making it the fastest regions plugin ever made for Unturned.
Features
- Nvidia PhysX based collision and trigger detection [zero lag]
- Everything is event based, there is no tick based code [zero lag]
- Rich config where you can configure many details of flags (e.g. item exclusions to noequip per region)
- Flag values based on permission groups and on region groups
- Global region to which flags can be applied
- Maximum performance - the fastest regions plugin ever made
- Regions with height - you can create regions inside apartments for example
- Visualization of regions
- uScript integration
Flags
- You can use /rflag help list to list flags and /rflag help <flag> to get information about a flag.
- EnterAddGroup: Adds player to a permission group when entering a region *
- EnterClearEffect: Removes an effect when entering a region
- EnterCommand: Runs a command as player / console / sudo (configurable) when entering a region
- EnterEffect: Triggers an effect when entering a region
- EnterMessage: Shows a message when entering a region (color, richtext, icon configurable)
- EnterRemoveGroup: Removes permission group when entering a region *
- EnterUrl: Opens an URL when entering a region (url and message configurable)
- Godmode: Grants godmode while inside a region (player damage and environment damage configurable)
- LeaveAddGroup: Adds to permission group when leaving a region *
- LeaveClearEffect: Removes an effect when leaving a region
- LeaveCommand: Runs a command as player / console / sudo (player with * permission) when leaving a region
- LeaveEffect: Triggers an effect when leaving a region
- LeaveMessage: Shows a message when leaving a region (color, richtext, icon configurable)
- LeaveRemoveGroup: Removes group when leaving a region *
- LeaveUrl: Opens an URL when leaving a region (url and message configurable)
- NoAnimals: Prevents animals from entering a region
- NoChat: Prevents chatting inside a region
- NoDestroy: Prevents destroying structures and barricades inside a region (item ids configurable)
- NoDriving: Prevents driving vehicles inside region (vehicles configurable)
- NoEnter: Prevents entering the region
- NoEquip: Prevents equipping items inside the region (items configurable)
- NoInteract: Prevents interacting with generators, spotlights, oxygenerators, oven etc. inside the region (configurable)
- NoLeave: Prevents leaving the region
- NoPlace: Prevents placing structures and barricades inside a region (item ids configurable)
- NoVehicleDamage: Prevents players / zombies / grenades etc (configurable) from damaging vehicles
- NoVehicleLockpick: Prevents lockpicking vehicles
- NoZombies: Prevents zombies from entering a region
- Teleportg: Marker for /rteleport
- UnlimitedGenerator: Unlimited generator fuel for all generators inside a region
- Vanish: Makes players invisible when entering the region
- VehicleRepair: Automatically repair vehicles over time in a region
Commands
- /coords- Display your current coordinates
- /rcreate- Create a new region
- /rflag- Manage flags for a region and get help
- /rmember- Manage members of regions
- /rowner- Manage owners of regions
- /rremove- Remove a region
- /rteleport- Teleport to a region which has a teleport flag
- All commands have rich help and usage instructions.
Permissions
- AdvancedRegions.Ownership.Override - Allows to execute region owner commands even if not owning the region
- AdvancedRegions.Flag.<Name> - Grants access to set flags for regions you are owner of
- Commands permissions are same the same as the commands themselves
Documentation
Integration
If you would like to integrate your plugin with AdvancedRegions, just add this reference assembly to your project and use it's APIs.
New features in AdvancedRegions compared to old Rocket-Regions & AdvancedZones
- Rewritten from scratch with the best performance ever / zero impact on server performance unlike very laggy old Rocket-Regions and AdvancedZones
- Using harmony to patch where no relevant events exist [zero lag]
- Based on new Nvidia Phxys collision detection instead of manually checking player positions each tick [zero lag]
- Global regions - regions which inherit the whole map
- Node regions - node based dynamic shape regions (replaces old glitched rectangular ones)
- Flag values based on permission groups (e.g. only allow admins to enter a region, etc.)
- Overlappable regions and priorities
- New NoAnimals, NoChat, NoInteract, EnterCommand, LeaveCommand and Vanish flags
- Multiple options per flag instead of just one (e.g. set color of rich messages, set which items to block with NoEquip per region, etc.)
- Visualization inspired by AdvancedZones - Thanks to Game4Freak for helping me
- All bugs of old regions are fixed
- Json based regions save file
- Regions with height - you can create regions inside apartments for example
- The plugin is completely rewritten from scratch. There is not a single line from AdvancedZones or from old Rocket-Regions.
- Modern code base based on Unity and .NET best practices and patterns (147 classes, Rocket-Regions: 58, Advanced Zones: 10)
- Modern API - soon available to all plugin developers for integration
- Support - anyone buying this plugin gets support and help for setting up the plugin and their regions
- uScript integration
* Permission related flags do not work with WebPermissions since WebPermissions can not be updated from plugins.
User Reviews
it does what it should.
Please whitelist my server
it does what it should.
easy to use
love this [plug in]
I recommend this plugin due to the fact that it has really many useful features
I would recommend this to anyone that has a pvp or a rp server! :)
nice plugin, its work
Plugin works well does exactly what it should, hard to figure out in the beginning
This plugin makes so many things so much easier to do