• If you have a mod, tool or prefab, please use the Resources section. Click Mods at the top of the forums.

Server Tools

Great utility..

Question on the jail system..

Is there a way to setup the jail system to send a player to jail by a set of rules?

ie player1 kills player2 so player1 would get sent to jail for X amount of time, or if an accident, player2 or a mod can release them.. or even player1 can post "bail" to get out.

Player1 would then be sent to either place he left, his bedroll, or a set location?

 
Hi am a bit confused about the new spawn/teleport new player system i have it set to this:

<Tool Name="NewSpawnTele" Enable="True" NewSpawnTelePosition="5180.344,4.09375,4919.938" />

which the numbers were done with the /setspawn . I have deleted myself off the server (from save game/random gen/mapname/player and am not on the server admin list. when i join the server it does not spawn me at said location, i DO have tho the starting items you get when you join a server (water , chilli, torch, claimblock, first aid.

Anyone else have this problem ? or know what i did wrong thanks :D

Edit: could it be am trying to spawn player's underground in to a safe house ?

 
Last edited by a moderator:
Hi am a bit confused about the new spawn/teleport new player system i have it set to this:
<Tool Name="NewSpawnTele" Enable="True" NewSpawnTelePosition="5180.344,4.09375,4919.938" />

which the numbers were done with the /setspawn . I have deleted myself off the server (from save game/random gen/mapname/player and am not on the server admin list. when i join the server it does not spawn me at said location, i DO have tho the starting items you get when you join a server (water , chilli, torch, claimblock, first aid.

Anyone else have this problem ? or know what i did wrong thanks :D

Edit: could it be am trying to spawn player's underground in to a safe house ?
because you have been on the server before delete the servertools.bin and try

 
because you have been on the server before delete the servertools.bin and try
ok i tried this...stopped the server, took my player data out....took out servertools.bin, restarted the server...still same problem even took all my data out from my pc end.

:(

 
2017-08-23T17:40:43 220.062 ERR [MODS] Error while executing PlayerSpawnedInWorld on mod "Server Tools"

2017-08-23T17:40:43 220.062 EXC Object reference not set to an instance of an object

NullReferenceException: Object reference not set to an instance of an object

at ServerTools.NewSpawnTele.TeleNewSpawn (.ClientInfo _cInfo) [0x00000] in <filename unknown>:0

at ServerTools.API.PlayerSpawnedInWorld (.ClientInfo _cInfo, RespawnType _respawnReason, Vector3i _pos) [0x00000] in <filename unknown>:0

at ModManager.PlayerSpawnedInWorld (.ClientInfo _cInfo, RespawnType _respawnReason, Vector3i _pos) [0x00000] in <filename unknown>:0

UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object)

UnityEngine.DebugLogHandler:LogException(Exception, Object)

UnityEngine.Logger:LogException(Exception, Object)

UnityEngine.Debug:LogException(Exception)

Logger:masterLogException(Exception)

Logger:Exception(Exception)

Log:Exception(Exception)

ModManager:PlayerSpawnedInWorld(ClientInfo, RespawnType, Vector3i)

GameManager:PlayerSpawnedInWorld(ClientInfo, RespawnType, Vector3i)

NetPackagePlayerSpawnedInWorld:ProcessPackage(World, INetConnectionCallbacks)

ConnectionManager:IC(INetConnection, NetPackageDirection)

ConnectionManager:Update()

Rest of your tools works fine (the ones i have enabled)

 
Last edited by a moderator:
2017-08-23T17:40:43 220.062 ERR [MODS] Error while executing PlayerSpawnedInWorld on mod "Server Tools"2017-08-23T17:40:43 220.062 EXC Object reference not set to an instance of an object

NullReferenceException: Object reference not set to an instance of an object

at ServerTools.NewSpawnTele.TeleNewSpawn (.ClientInfo _cInfo) [0x00000] in <filename unknown>:0

at ServerTools.API.PlayerSpawnedInWorld (.ClientInfo _cInfo, RespawnType _respawnReason, Vector3i _pos) [0x00000] in <filename unknown>:0

at ModManager.PlayerSpawnedInWorld (.ClientInfo _cInfo, RespawnType _respawnReason, Vector3i _pos) [0x00000] in <filename unknown>:0

UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object)

UnityEngine.DebugLogHandler:LogException(Exception, Object)

UnityEngine.Logger:LogException(Exception, Object)

UnityEngine.Debug:LogException(Exception)

Logger:masterLogException(Exception)

Logger:Exception(Exception)

Log:Exception(Exception)

ModManager:PlayerSpawnedInWorld(ClientInfo, RespawnType, Vector3i)

GameManager:PlayerSpawnedInWorld(ClientInfo, RespawnType, Vector3i)

NetPackagePlayerSpawnedInWorld:ProcessPackage(World, INetConnectionCallbacks)

ConnectionManager:IC(INetConnection, NetPackageDirection)

ConnectionManager:Update()

Rest of your tools works fine (the ones i have enabled)
can you try this one and report back please

View attachment 22386

Mods.zip

 

Attachments

Last edited by a moderator:
Gimme.xml

hi i'm having a little trouble with the Gimme.xml file, i have tried to edit it to give good & bad gimmes but when i use it for zombies or animals it says the item has been dropped but they don't spawn in. Any ideas where i'm going wrong?

eg.

<Gimme>

<config>

<gimmeDelay Minutes="60" />

</config>

<items>

<item item="zombieBoe" min="1" max="1" />

 
I love this, got it to work finally, im a n00b for 7days server stuff.

But are server messages (info) bugged? I cant ever get them to scroll. Even if I leave the settings to default - nothing happens with those messages.

Is there a way to provide a player with a kit with this tool? LIke a starter kit? I would really like to add that for new players in my server. (Maybe PM me for options if server tools cannot do it)

HOpefully someone can help me with the messages! Thanks!

 
Nor Does it need it in my opinion. Its Then Just using Resources & If Players ZB Kills go up then its taking the fun from it. Without True stats :strawberry:

 
Hi dmustanger with the new version when ever a player teleports they get a the MOTD. any way I can fix it. It didn't do it in the previous version. Thanks in advance

 
Back
Top