Restriction Zones

Restriction Zones 1.3.1

No permission to download
Hello.

With help of @tarynkelley testing I made some fixes and added Moderators. For now still only admins can create zone.

Config changed little bit, added
Code:
AllowModeratorsToBuild=TRUE
AllowModeratorsToKill=TRUE
This update is crucial for your server, and you should install it NOW.
  • Like
Reactions: Hkazem
  • Like
Reactions: Hkazem
Restricition Zones 1.3.0:

1. Performance improvement: loading zones to memory, reloading on set/edit/delete
2. Zone Edit improvement: now you can edit all settings:
ex - /zone edit hangar 124 on off on
ex2 - /zone edit hangar 122 off
3. Bug in Zone Edit function fixed: function wasn't validating input on 'destroying' option
4. Small performance fixes: 'switch'
5. Preventing some errors when admin have no f# idea what he is doing
6. Small 'public' fixes
7. Added some more readability on wrong usage
8. Removed source - it provided only mess in package - it's not how we want to do it @Dre. Also Debug compile is for debugging, not final release.

Hey. Wasn't tested on working server. Anyone please?
  • Fixed Hook error
  • Updated hook
  • Tweaked performance a bit
  • Added a new reload command
  • Included source code
Restricition Zones 1.1.0:

- Added PVP on/off,
- Added Entity destroying on/off as DreTax wanted,
- /zone set name 100 off on on - please fix your zones by adding settings. Look at package for "New install" and open zones.ini to see what changed,
- Fixed entity names (shelter),
- More settings in config:
Code:
[Settings]
BuildingOffWarning=TRUE
PVPOffWarning=TRUE
DestroyingOffWarning=TRUE

AllowAdminsToBuild=TRUE
AllowAdminsToKill=TRUE
Please report any bugs, problems. I installed this plugin on my own server and will use it too, so maybe something I will catch, but I always had and I was always aiming at small servers so I really don't know how it's working on bigger servers (above 20 players online).

Hope it's ok and you like it :)
PVP not going well as with Rust, Unity, all those crazy float shit (I mean variables), and it will be a little bit tricky... Well. Like Always. But:

- I added Allow / Disallow for Admins to build (config).
- Fixed Entity names - no NullReferenceError from now.
- I will not make Timer Warning as it will need to create list of players and we already know that it may cause some errors.
- New command: /zone distance [zonename].

With new command creating zone will be even easier, as you can just set your zone in middle of Small Rad for example:
- /zone set smallrad 20 off on
And then run away to distance where you would like to end your zone and check distance:
- /zone distance smallrad
After that you receive distance (let's say 100), and you can just fix your zone radius:
- /zone edit smallrad 100

Hope you like plugin and it not causing any problems to server :)