SafeZones

SafeZones 3.2

No permission to download

Modsouls

New member
Messages
17
Likes
1
Points
3
Having some trouble getting SafeZones to actually function, attached is what I am using for the config with location taken out of ShowDebug Physics. The radius should be approximately equivalent to 55 foundations, I get no notifications when entering or leaving, and disabling the ability to enter or leave does not seem to do anything.

The JSON validates when i run it through a tester, what am I doing wrong?
 

Attachments

Advertisement

Monetise Your Game Server

Want to monetise your ARK Server? Create your own webstore at tebex.io

Modsouls

New member
Messages
17
Likes
1
Points
3
It appears it is doing something, if I attempt to place a structure inside a safe area it crashes the server, as shown in this crash message it occurs upon Structure Final Placement.

Aside from this though, pvp is still possible, structure damage is still possible, and I am not receiving any enter or exit notifications.
 

Attachments

Slayerx-9

New member
Messages
16
Likes
0
Points
1
question have yall thought about making the field radius not invisible but maybe something similar to what ORP2 mod does...like make the radius field red or green or something to make it easier for people to pin point and find the safezone area
 

Slayerx-9

New member
Messages
16
Likes
0
Points
1
okay can someone look over my config for the plugin i think something is fucked lol its not working on my server right now i know this because when reloading the config while in game it didnt reload lol
 

Attachments

Modsouls

New member
Messages
17
Likes
1
Points
3
Did you change the format to post here Slayer? That is a .txt file, not a .json.
Also your file is not properly formatted even if it was a .json.

Google "json validator" and paste your code in there to see what is wrong with it.
 

Slayerx-9

New member
Messages
16
Likes
0
Points
1
gotcha found and fixed the issue...now is there a possible way for the zone that is created with this plugin be visible for the locations to be easier to keep track of and for players to find also so people know the size of the area they actually have while in the zone?
 
Messages
40
Likes
1
Points
8
Hi dev, can i give permission by steamID like below

"SafeZones":[
{
"Name":"Newbies 01",
"Permission": SteamID,
"Position":[
403479.99999999994,
399550,
6000
],
"Radius":2000,
"PreventPVP":true,
"PreventStructureDamage":true,
"PreventBuilding":false,
"KillWildDinos":false,
"PreventLeaving":false,
"PreventEntering":true,
"EnableEvents":true,
"ScreenNotifications":true,
"ChatNotifications":true,
"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"
]
},
 
Messages
6
Likes
0
Points
1
So the spawn overweight does it replace spawns or just add new ones? also, what is the radius and does this plugin work on Ragnarok? I could not get it to work last time.
 
Messages
4
Likes
0
Points
1
As per previous poster, can someone please confirm what the OverrideSpawnPoint actually does?
Doesn't seem to add any additional spawn locations and doesn't force players to spawn on the position you set?????

Edit: Also the Item and Dinos settings do not work, even with the default config entry that is supposed to give you a Carno saddle set to ForceBluePrintTrue, nothing appears in inventory when entering the zone.
 
Last edited:

Foppa

Moderator
Staff member
Messages
689
Likes
64
Points
28
Website
foppasgaming.com
As per previous poster, can someone please confirm what the OverrideSpawnPoint actually does?
Doesn't seem to add any additional spawn locations and doesn't force players to spawn on the position you set?????

Edit: Also the Item and Dinos settings do not work, even with the default config entry that is supposed to give you a Carno saddle set to ForceBluePrintTrue, nothing appears in inventory when entering the zone.
If I read it right so, According to the code: "OverrideSpawnPoint" Moves a player randomly if they spawn on the set coordination set under this section.

You need to execute the console command: SZGiveItems <ZoneName>
when players are inside the safe zone to give them items.
 
Messages
14
Likes
0
Points
1
Hi i have a problem. i want to make 3 savezones but how do i add the 3th one?
can someone explain that to me please?
i like the plugin so far
 
Last edited:

Foppa

Moderator
Staff member
Messages
689
Likes
64
Points
28
Website
foppasgaming.com
Hi i have a problem. i want to make 3 savezones but how do i add the 3th one?
can someone explain that to me please?
i like the plugin so far
Just copy Zone1 and put it between Zone1 and Zone2 and rename them :)

Basically, This is what you want to copy:
JSON:
    { 
      "Name":"Zone1",
      "Position":[ 
        -111820,
        233874,
        -14259.6
      ],
      "Radius":1800,
      "PreventPVP":true,
      "PreventStructureDamage":true,
      "PreventBuilding":true,
      "KillWildDinos":true,
      "PreventLeaving":false,
      "PreventEntering":false,
      "EnableEvents":true,
      "ScreenNotifications":true,
      "ChatNotifications":true,
      "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":[ 
          { 
            "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'"
          }
        ]
      }
    },
 
Messages
14
Likes
0
Points
1
hmm it doesnt seem to work. its getting a error on loading.

here are the settings:
{
"ServerName":"Jeppe`s PVP sever",
"NotificationScale":1.0,
"NotificationDisplayTime":5.0,
"AdminsIgnoreRestrictions":false,
"SafeZones":[
{
"Name":"blue Obi",
"Position":[
-427448,
-416922,
-13721
],
"Radius":800,
"PreventPVP":false,
"PreventStructureDamage":true,
"PreventBuilding":true,
"KillWildDinos":true,
"PreventLeaving":false,
"PreventEntering":false,
"EnableEvents":true,
"ScreenNotifications":true,
"ChatNotifications":true,
"SuccessNotificationColor":[
0,
1,
0,
1
],
"FailNotificationColor":[
1,
0,
0,
1
],
"Messages":[
"You have entered {0}",
"You have left {0}",
"Its not allowed to build or camp a obelisk.",
"You are not allowed to enter",
"You are not allowed to leave"
],
"ItemsConfig":{
"Items":[
{
"Amount":0,
"Quality":0,
"ForceBlueprint":false,
"Blueprint":"Blueprint'/Game/PrimalEarth/CoreBlueprints/Items/Armor/Saddles/PrimalItemArmor_CarnoSaddle.PrimalItemArmor_CarnoSaddle'"
}
],
"Dinos":[
{
"Level":10,
"'"
}
]
}
},
{
"Name":"Red Obi",
"Position":[
467640,
-196258,
-14193
],
"Radius":800,
"PreventPVP":false,
"PreventStructureDamage":false,
"PreventBuilding":true,
"KillWildDinos":true,
"PreventLeaving":false,
"PreventEntering":False,
"EnableEvents":true,
"ScreenNotifications":true,
"ChatNotifications":true,
"SuccessNotificationColor":[
0,
1,
0,
1
],
"FailNotificationColor":[
1,
0,
0,
1
],
"Messages":[
"You have entered {0}",
"You have left {0}",
"Its not allowed to camp in the oblisks",
"You are not allowed to enter",
"You are not allowed to leave"
],
"ItemsConfig":{
"Items":[
{
"Amount":0,
"Quality":0,
"ForceBlueprint":false,
"Blueprint":"Blueprint'/Game/PrimalEarth/CoreBlueprints/Items/Armor/Saddles/PrimalItemArmor_CarnoSaddle.PrimalItemArmor_CarnoSaddle'"
}
],
"Dinos":[
{
"Level":10,
"Blueprint":"'"
}
]
}
},
{
"Name":"green obi",
"Position":[
-155693,
91695,
11619
],
"Radius":800,
"PreventPVP":false,
"PreventStructureDamage":false,
"PreventBuilding":true,
"KillWildDinos":true,
"PreventLeaving":false,
"PreventEntering":false,
"EnableEvents":true,
"ScreenNotifications":true,
"ChatNotifications":true,
"SuccessNotificationColor":[
0,
1,
0,
1
],
"FailNotificationColor":[
1,
0,
0,
1
],
"Messages":[
"You have entered {0}",
"You have left {0}",
"Its not allowed to camp in the oblisks",
"You are not allowed to enter",
"You are not allowed to leave"
]
}
],
"OverrideSpawnPoint":[

]
}

and the crash tekst is: 08/26/18 02:22 [SafeZone][error] [json.exception.parse_error.101] parse error at 1358: syntax error - unexpected '}'; expected ':'
 
Messages
14
Likes
0
Points
1
There is a problem in your config. Just in this line:
"Level":10,
"'"
….
{
"ServerName":"Jeppe`s PVP sever",
"NotificationScale":1.0,
"NotificationDisplayTime":5.0,
"AdminsIgnoreRestrictions":false,
"SafeZones":[
{
"Name":"blue Obi",
"Position":[
-427448,
-416922,
-13721
],
"Radius":800,
"PreventPVP":false,
"PreventStructureDamage":true,
"PreventBuilding":true,
"KillWildDinos":true,
"PreventLeaving":false,
"PreventEntering":false,
"EnableEvents":true,
"ScreenNotifications":true,
"ChatNotifications":true,
"SuccessNotificationColor":[
0,
1,
0,
1
],
"FailNotificationColor":[
1,
0,
0,
1
],
"Messages":[
"You have entered {0}",
"You have left {0}",
"Its not allowed to build or camp a obelisk.",
"You are not allowed to enter",
"You are not allowed to leave"
],
"ItemsConfig":{
"Items":[
{
"Amount":1,
"Quality":0,
"ForceBlueprint":false,
"Blueprint":"Blueprint'/Game/PrimalEarth/CoreBlueprints/Items/Armor/Saddles/PrimalItemArmor_CarnoSaddle.PrimalItemArmor_CarnoSaddle'"
}
],
},
{
"Name":"Red Obi",
"Position":[
467640,
-196258,
-14193
],
"Radius":800,
"PreventPVP":false,
"PreventStructureDamage":false,
"PreventBuilding":true,
"KillWildDinos":true,
"PreventLeaving":false,
"PreventEntering":False,
"EnableEvents":true,
"ScreenNotifications":true,
"ChatNotifications":true,
"SuccessNotificationColor":[
0,
1,
0,
1
],
"FailNotificationColor":[
1,
0,
0,
1
],
"Messages":[
"You have entered {0}",
"You have left {0}",
"Its not allowed to camp in the oblisks",
"You are not allowed to enter",
"You are not allowed to leave"
],
"ItemsConfig":{
"Items":[
{
"Amount":0,
"Quality":0,
"ForceBlueprint":false,
"Blueprint":"Blueprint'/Game/PrimalEarth/CoreBlueprints/Items/Armor/Saddles/PrimalItemArmor_CarnoSaddle.PrimalItemArmor_CarnoSaddle'"
}
],
},
{
"Name":"green obi",
"Position":[
-155693,
91695,
11619
],
"Radius":800,
"PreventPVP":false,
"PreventStructureDamage":false,
"PreventBuilding":true,
"KillWildDinos":true,
"PreventLeaving":false,
"PreventEntering":false,
"EnableEvents":true,
"ScreenNotifications":true,
"ChatNotifications":true,
"SuccessNotificationColor":[
0,
1,
0,
1
],
"FailNotificationColor":[
1,
0,
0,
1
],
"Messages":[
"You have entered {0}",
"You have left {0}",
"Its not allowed to camp in the oblisks",
"You are not allowed to enter",
"You are not allowed to leave"
]
}
],
"OverrideSpawnPoint":[

]
}

Okay i removed it but still the same message: 08/26/18 22:11 [SafeZone][error] [json.exception.parse_error.101] parse error at 1357: syntax error - unexpected '}'; expected ':'

i checked it with the example and Original file but it doesnt matter what i do.
dont understand what i am doing wrong now
 

Foppa

Moderator
Staff member
Messages
689
Likes
64
Points
28
Website
foppasgaming.com
….
{
"ServerName":"Jeppe`s PVP sever",
"NotificationScale":1.0,
"NotificationDisplayTime":5.0,
"AdminsIgnoreRestrictions":false,
"SafeZones":[
{
"Name":"blue Obi",
"Position":[
-427448,
-416922,
-13721
],
"Radius":800,
"PreventPVP":false,
"PreventStructureDamage":true,
"PreventBuilding":true,
"KillWildDinos":true,
"PreventLeaving":false,
"PreventEntering":false,
"EnableEvents":true,
"ScreenNotifications":true,
"ChatNotifications":true,
"SuccessNotificationColor":[
0,
1,
0,
1
],
"FailNotificationColor":[
1,
0,
0,
1
],
"Messages":[
"You have entered {0}",
"You have left {0}",
"Its not allowed to build or camp a obelisk.",
"You are not allowed to enter",
"You are not allowed to leave"
],
"ItemsConfig":{
"Items":[
{
"Amount":1,
"Quality":0,
"ForceBlueprint":false,
"Blueprint":"Blueprint'/Game/PrimalEarth/CoreBlueprints/Items/Armor/Saddles/PrimalItemArmor_CarnoSaddle.PrimalItemArmor_CarnoSaddle'"
}
],
},
{
"Name":"Red Obi",
"Position":[
467640,
-196258,
-14193
],
"Radius":800,
"PreventPVP":false,
"PreventStructureDamage":false,
"PreventBuilding":true,
"KillWildDinos":true,
"PreventLeaving":false,
"PreventEntering":False,
"EnableEvents":true,
"ScreenNotifications":true,
"ChatNotifications":true,
"SuccessNotificationColor":[
0,
1,
0,
1
],
"FailNotificationColor":[
1,
0,
0,
1
],
"Messages":[
"You have entered {0}",
"You have left {0}",
"Its not allowed to camp in the oblisks",
"You are not allowed to enter",
"You are not allowed to leave"
],
"ItemsConfig":{
"Items":[
{
"Amount":0,
"Quality":0,
"ForceBlueprint":false,
"Blueprint":"Blueprint'/Game/PrimalEarth/CoreBlueprints/Items/Armor/Saddles/PrimalItemArmor_CarnoSaddle.PrimalItemArmor_CarnoSaddle'"
}
],
},
{
"Name":"green obi",
"Position":[
-155693,
91695,
11619
],
"Radius":800,
"PreventPVP":false,
"PreventStructureDamage":false,
"PreventBuilding":true,
"KillWildDinos":true,
"PreventLeaving":false,
"PreventEntering":false,
"EnableEvents":true,
"ScreenNotifications":true,
"ChatNotifications":true,
"SuccessNotificationColor":[
0,
1,
0,
1
],
"FailNotificationColor":[
1,
0,
0,
1
],
"Messages":[
"You have entered {0}",
"You have left {0}",
"Its not allowed to camp in the oblisks",
"You are not allowed to enter",
"You are not allowed to leave"
]
}
],
"OverrideSpawnPoint":[

]
}

Okay i removed it but still the same message: 08/26/18 22:11 [SafeZone][error] [json.exception.parse_error.101] parse error at 1357: syntax error - unexpected '}'; expected ':'

i checked it with the example and Original file but it doesnt matter what i do.
dont understand what i am doing wrong now
I can take a look but can you upload your whole config? (instead of pasting it)
 
Top