Zones not being flagged

I see no flags created for my zones.

CONFIG

{
  "1. Kill Sleepers on disconnect": false,
  "2. Time to delay Kill": 60,
  "3. OupostZoneRadius": 130,
  "4. BanditCampZoneRadius": 1,
  "5. Use Enter and Leave Messages?": true,
  "6. Enter Message": "You are not allowed to sleep in this Zone",
  "7. Leave Message": "Thank you for not sleeping here!",
  "8. Enter/Leave Message color": "#95a5a6"
}


ZONES:

{
  "Name": "OutPost",
  "Radius": 130.0,
  "Radiation": 0.0,
  "Comfort": 0.0,
  "Temperature": 0.0,
  "Location": "-1457.583 18.23715 -35.59494",
  "Size": "0 0 0",
  "Rotation": "0 0 0",
  "Id": "OutPost.0",
  "EnterMessage": "<color=red>[NSZS]</color> :<color=#95a5a6> You are not allowed to sleep in this Zone </color> ",
  "LeaveMessage": "<color=red>[NSZS]</color> :<color=#95a5a6> Thank you for not sleeping here! </color> ",
  "Permission": null,
  "EjectSpawns": null,
  "Enabled": true,
  "Flags": "None"
}, {
  "Name": "BanditCamp",
  "Radius": 1.0,
  "Radiation": 0.0,
  "Comfort": 0.0,
  "Temperature": 0.0,
  "Location": "-168.3589 24.76861 249.4373",
  "Size": "0 0 0",
  "Rotation": "0 0 0",
  "Id": "BanditCamp.1",
  "EnterMessage": "<color=red>[NSZS]</color> :<color=#95a5a6> You are not allowed to sleep in this Zone </color> ",
  "LeaveMessage": "<color=red>[NSZS]</color> :<color=#95a5a6> Thank you for not sleeping here! </color> ",
  "Permission": null,
  "EjectSpawns": null,
  "Enabled": true,
  "Flags": "None"
}
yes Flags only get created on player disconnect . some TP plugins Puts players in a sleeping state when TP to monument so I changed it to only Eject Sleepers on disconnection...
5d45358864483.png NooBlet
Flags only get created on player disconnect . some TP plugins Puts players in a sleeping state when TP to monument so I changed it to only Eject Sleepers on disconnection...

Sorry but I have no clue what you are referring to?  If i have a ZoneManager zone with no flags then how will it eject people that attempt to sleep?

I do not know what this has to do with TP...

I am so confused..............

I do not see eject on disconnect in this zone either.....

the flag only gets added when a player disconnects from server for 10seconds then removed again . We did this becuase Telepotation plugins puts player in sleep mode to teleport them . so when that player teleports to outpost he/she is a sleeper and gets ejected........

but this has been tested so if players disconnect from server they will be ejected to the distance set in config . and then ejectsleepers gets removed from zone right after ...

have a friend disconnect in outpost (player that does not have Auth1 or Auth2) and watch them dissapear..

Merged post

or are you saying that it doesnt work
if that is the case . can i record a video for you to show you our test....

Merged post

  private void Addflag(string zone)
        {
            ZoneManager?.Call("AddFlag", zone, "ejectsleepers");   //adds the flag as player disconnects to eject him from zone
           

            timer.Once(10f, () =>
            {
               ZoneManager?.Call("RemoveFlag", zone, "ejectsleepers"); // then 10sec later removes the flag from zone
            });

        }


Merged post

hope this helps this wat happens on player disconnect