[FREE] Pickle's Prisons | Jail System | Breakouts | Work & Activities

what script you used? is that free may i ask? hehehe

1 Like

Made it myself! It’s part of the prisons system.

However, I have been contemplating making my core folder into a seperate release so other developers can use it in their releases as a dependency.

Only reason why I haven’t is because I don’t want to have to require two dependencies for every release, I like how simple it is to install my resources currently.

4 Likes

What is the map that I have to have?

1 Like

The default config uses the Gabz Prison MLO.

However it is very easy to change the coordinates for whichever location you want to add your prisons at.

1 Like

wow thats nice!! :smiling_face_with_three_hearts:

1 Like

What a nice script <3

1 Like

Hey Pickle! looks delicious! Is there anything that stops people from climbing the fence and escaping without finishing a sentence? like sends them back to jail after X distance from the prison if they haven’t done the script breakout or time.

1 Like

He shows me that of the console

[script:pickle_prison] SCRIPT ERROR: @pickle_prisons/modules/prison/server.lua:205: attempt to index a nil value (field ‘?’)

AddEventHandler(“playerDropped”, function()
local source = source
local identifier = GetIdentifier(source)
MySQL.Async.execute(“UPDATE pickle_prisons SET time=@time WHERE identifier=@identifier”, {
[“@identifier”] = identifier,
[“@time”] = Prisoners[source].time,
})
end)

1 Like

Does this work with only pembroke or are other prisons, jails & cells supported.

1 Like

Currently people can break out if the prison doesn’t hold them in.

This was allowed to support lock-picking doors.

However, I’ll be introducing a config option to teleport them back in when no breakout is in progress.

This will also be fixed in this update

Works with any configuration you’d like to use!

Should that already be fixed in 1.0.1 because we have it on it

1 Like

Hopefully my wish become true in the update!

1 Like

Damm thats so good script.

1 Like

hi, while im trying to upload sql - im getting error “#1101 - Blob field ‘inventory’ cannot have default value”, how to fix it?

1 Like

You’re likely using an older version of MySQL, it is recommended to use MariaDB.
However if you can’t do that, use this query instead:

CREATE TABLE IF NOT EXISTS `pickle_prisons` (
  `identifier` varchar(46) NOT NULL,
  `prison` varchar(50) DEFAULT 'default',
  `time` int(11) NOT NULL DEFAULT 0,
  `inventory` longtext NOT NULL,
  `sentence_date` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

:fire: :fire: :fire:

1 Like

Update v1.1.0

  • Jail Dialog to send people to prison (/jailmenu)

  • Added Config.EnableSneakout to enable/disable escaping without breaking out.

  • Added Additional German Translation for this Update thanks to @JeyCraft!

  • Fixed time decrease issue.

  • Fixed playerDropped issue.

Download the new update here: Releases ¡ PickleModifications/pickle_prisons ¡ GitHub

1 Like

getting still the same error ;/

1 Like