[RELEASE] Badger_Jailing

Having a issue where it is not working at all for me. It seems im doing something wrong. I have the script in my resource folder and it is ensured in my cfg.

I have

add_ace builtin.everyone Badger_Jailing.Unjail

add_ace builtin.everyone Badger_Jailing.Jail

In my permissions.cfg and it still isnt working.

any fix? and/or how to set this up with the discord perms?

1 Like

Anyone else getting this constantly [script:Badger_Jailin] SCRIPT ERROR: @Badger_Jailing/server.lua:160: attempt to index a nil value (local 'cfg')

This is line 160

	if cfg[ids.license] ~= nil then 
		cfg[ids.license].Time = JailTracker[src];

Also does anyone have any idea why the cell spawns arent working. It just keeps spawning everyone into the same spot in the middle outside. Even though I’ve set the coords perfectly.

Every thought of making a system where if someone disconnects it will save their info and replace them in jail when they rejoin?

Can someone help me i cant jail anyone or show me how it need to be setup

2 Likes

how would you write the command i’m learning how to
do ace perms

Ever figure out a fix for it? Running into the same issue now

any way that the seconds can be converted to minutes in another server I played on they had it set to minutes