I've created spawnfile. But it's empty.Jail not working.Code:{}
What should i do to fill it with the info about jail? Radius is working (with his message) but when i do /jail player 30 nothing is happen.
Jail
Send players to jail
Total Downloads: 6,925 - First Release: Jan 29, 2015 - Last Update: Oct 29, 2017
- 5/5, 26 likes
-
you didnt create sucessfully a spawnfile or the file wouldn't be empty.
if you name the spawnfile as the name of another file in data/ it will also bug and get erased (like if you call you spawnfile: jail) -
Here is what I have done:
/jail_config spawnfile prison ( new file appears in /data - prison.json) and it's empty with {}
/jail_config zone 30
Anything else ? -
you need to create the prison spawnfile before
if a new file appears it means that you didnt create it before
read the overview ^^
you need the spawns database plugin and do:
/spawns_new
/spawns_add (multiple time, where you want all your spawn points)
/spawns_save prison
THEN you can use /jail_config spawnfile prison
and jail someone -
Thnx a lot Reneb
-
Hi, I have try to install your plugin but I cant use it... I think I don't understant how install it. Can you help me plz.
Best regards -
Reneb updated Jail with a new update entry:
update for latest Spawns Database
-
Reneb updated Jail with a new update entry:
error when player isn't connected fixed
-
All is ok it work.
I would like to know if it is possible to set a player in jail and he lost all his items.
Best regards. -
none of his items are usable in the jail anyway ^^
-
Reneb, if it isn't too hard or too time consuming can you pleeeeease (lol) add the ability to jail and free people with console commands.
-
Can't Jail sleepers now
-
I didnt change a thing about sleepers
-
Whenever i do the command i get this error
Code:20:48.36: at System.Int32.Parse (System.String s, IFormatProvider provider) [0x00000] in :0 20:48.36: at System.Convert.ToInt32 (System.String value, IFormatProvider provider) [0x00000] in :0 20:48.36: at System.String.System.IConvertible.ToInt32 (IFormatProvider provider) [0x00000] in :0 20:48.36: at System.Convert.ToInt32 (System.Object value, IFormatProvider provider) [0x00000] in :0 20:48.36: at System.Convert.ToInt32 (System.Object value) [0x00000] in :0 20:48.36: at Oxide.Plugins.Jail.FindCell (System.String userid) [0x00000] in :0 20:48.36: at Oxide.Plugins.Jail.AddPlayerToJail (.BasePlayer player, Int32 expiretime) [0x00000] in :0 20:48.36: at Oxide.Plugins.Jail.cmdChatJail (.BasePlayer player, System.String command, System.String[] args) [0x00000] in :0 20:48.36: at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&) 20:48.36: at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in :0
Last edited by a moderator: May 18, 2015 -
Read the overview you didnt configure it correctly
-
I tried configuring it it again, it still didnt work.
-
You didnt make spawn points with the spawn manager
-
Nvm i figured it out, thanks for the help
-
can you post how you did to fix it please? Might be of help for others.
-
Reneb updated Jail with a new update entry:
console commands player.jail player.free