SafeZones

SafeZones 3.3

No permission to download

SafeZones

Source: Click Here

Features:
  • Prevent PVP in certain area's
  • Prevent Building in certain area's
  • Prevent Structure damage in certain area's
  • Notifications on Entering and Leaving SafeZone area's
  • Ability to restrict players from joining/leaving area
  • Ability to give items in SafeZone's
  • Change spawn point
  • Configuration reloading
  • Supports Permissions Plugin
  • Visual bubble to mark safe zones
  • Override map spawn points to your own ones
Console Commands:
  • SZGiveItems <ZoneName> - Gives items from config to all players in this zone.
  • SZEnterSettings <ZoneName> <PreventEntering> <PreventLeaving> - Changes safezone enter settings. PreventEntering and PreventLeaving can be either 1 or 0.
  • SZReloadConfig - Reloads config.json.
  • SZCreateZone <ZoneName> - Creates a zone in the player's position and adds it to config (only name and position, all other options are false by default)
  • SZShowSpawnPoints - It will show the name of the spawn points for getting correct config values for the override spawn feature
RCON Commands:
  • SZGiveItems <ZoneName> - Gives items from config to all players in this zone.
  • SZReloadConfig - Reloads config.json.
  • SZShowSpawnPoints - It will show the name of the spawn points for getting correct config values for the override spawn feature
Useful command to display your coordinates: ShowDebug physics or ccc (it will copy your current coords to clipboard)

Config:
Default config contains 2 zones as an example. You can create as many as you want.
JSON:
{
  "Name":"Zone1", // Safe zone name
  "Position":[ // Safe zone location
    -111820,
    233874,
    -14259.6
  ],
  "ForMap": "TheCenter" // Map name where the zone will be created, if empty or removed this option it will be spawned on all maps
  "Radius":1800, // Safe zone size
  "PreventPVP":true,
  "PreventStructureDamage":true,
  "PreventBuilding":true,
  "KillWildDinos":true, // Kills all wild dinos in safe zone
  "PreventLeaving":false, // Prevents players from leaving safe zone
  "PreventEntering":false, // Prevents players from entering safe zone
  "EnableEvents":true, // Options like PreventLeaving, PreventEntering, Notification require this to be enabled
  "ScreenNotifications":true, // Enables on-screen messages
  "ChatNotifications":true, // Enables chat messages
  "GiveDinosInCryopod": true, // If true, the dinos given will be in a cryopod
  "ShowBubble": true, // If true, a visual bubble will be spawned at zone, showing its radius
  "BubbleColor": [ 255, 0, 0 ], // RGB color of the visual bubble
  "SuccessNotificationColor":[
    0,
    1,
    0,
    1
  ],
  "FailNotificationColor":[
    1,
    0,
    0,
    1
  ],
  "Messages":[
    "You have entered {0}",
    "You have left {0}",
    "This is a Community trade center you can not build here",
    "You are not allowed to enter",
    "You are not allowed to leave"
  ],
  "ItemsConfig":{ // Items that player will receive if SZGiveItems command was used
    "Items":[
      {
        "Amount":1,
        "Quality":0,
        "ForceBlueprint":false,
        "Blueprint":"Blueprint'/Game/PrimalEarth/CoreBlueprints/Items/Armor/Saddles/PrimalItemArmor_CarnoSaddle.PrimalItemArmor_CarnoSaddle'"
      }
    ],
    "Dinos":[
      {
        "Level":10,
        "Blueprint":"Blueprint'/Game/PrimalEarth/Dinos/Carno/Carno_Character_BP.Carno_Character_BP'",
        "SaddleBlueprint": "Blueprint'/Game/PrimalEarth/CoreBlueprints/Items/Armor/Saddles/PrimalItemArmor_CarnoSaddle.PrimalItemArmor_CarnoSaddle' "
      }
    ]
},
"OverrideSpawnPoint": { // Chooses a random spawn point on given map and spawn zone name
    "TheCenter": {
      "Lava Island (Hard)": [
        [ -44742, -111102, -12645 ],
        [ -57239, -157787, -13490 ]
      ]
    }
  }
Permissions:
  • SafeZones.<Name> - Permissions to enter in the specific zone (if "PreventEntering" is enabled). Example: SafeZones.Zone1.
Dependencies:
Author
Pelayori
Downloads
1,094
Views
8,116
First release
Last update
Rating
3.87 star(s) 15 ratings

More resources from Pelayori

Latest updates

  1. 3.3

    Updated internal logic so it doesn't lag when checking zone events Improved enter/leave...
  2. 3.2

    Added override spawn point option Fixed SZGiveItems
  3. 3.1

    Updated for API v2.5 Fixed PreventBuilding option

Latest reviews

SafeZone plug in works just fine for the Island map but for some reason fails to start with any other DLC maps.
ping very high with this plugin
I believe that this plugin is great, however I just dont understand how to use it. Im trying to set up a safe zone for people to be able to spawn in, but I have no idea what commands to use or if this has to be done via a config file or what. I cant find any info on how to actually set things up on a new server. Any help with this would be greatly appreciated.
Love this API, has made events so much easier to organise. Is there a way to assign spawn points to specific zones?
10/10 Got it working exactly how i wanted
Works as described. Also, not sure who says it does not work on Genesis, but it's been working for me since day 1.
Still can't be used in Genesis DLC
On my PvE server, the safezone removes damage from and to wild dino's. Can this be disabled please, or a toggle to turn it on and off. I don't want wild dino damage off. Until then... This feature makes it almost useless for me..
This API is nice but could use a couple improvements, I set this up as a place for my server admins to live but there were a few issues.

-Setting PvE also means that you can not tame dinos in the bubble
- It would be nice if allowing entering and leaving the area could be tied to a group permission.

Otherwise this API works nicely.
Very nice and useful!

It however seems to not properly detect or at least notify you are entering / leaving a zone if you are mounted, only if you are not riding a dino.

This can be seen as you receive the entering/leaving message while in the zone when you mount/dismount.

Otherwise seems to work fine and allows one to set up several zones for all different purposes, thank you!
Top