Cuberite Forum
Jailed v1 - Printable Version

+- Cuberite Forum (https://forum.cuberite.org)
+-- Forum: Plugins (https://forum.cuberite.org/forum-1.html)
+--- Forum: Plugin Releases (https://forum.cuberite.org/forum-2.html)
+--- Thread: Jailed v1 (/thread-1252.html)



Jailed v1 - tonibm19 - 10-03-2013

This is a jails plugin, it's like essentials jails system

Features:
- Jail players
- Unjail players
- Configurable hooks for jailed players

Commands and permissions
/jail jail.jail
/setwarp jail.setjail
/delwarp jail.deljail
/warps jail.listjail

Default settings (in settings.ini)
[Enabled]
Chat=true
Commands=false
Dig=true
Place=true

Jailed players can do actions set to true

If you use Login, it's recommended to load Login before Jailed to avoid problems with OnExecuteCommand hook.

Download: https://github.com/tonibm19/Jailed/archive/master.zip
Github: https://github.com/tonibm19/Jailed


RE: Jailed v1 - tigerw - 10-06-2013

Huh, will the configuration files generate on first start? I see that it doesn't do anything if Inifile:ReadFile is false.


RE: Jailed v1 - tonibm19 - 10-06-2013

Configuration files should generate at first start.


RE: Jailed v1 - NiLSPACE - 10-06-2013

Even if the ReadFile() function is false, when you use GetValueSet and then WriteFile() it should generate an .Ini file.


RE: Jailed v1 - tigerw - 10-07-2013

Alright, thanks Smile


RE: Jailed v1 - tonibm19 - 03-15-2014

I'm currently updating the plugin to support latest API, timed jails and a better storage for players and settings.


RE: Jailed v1 - DrMasik - 08-20-2015

Some warnings:

Warning: [23:06:09] cPlugin:GetLocalDirectory() is obsolete, use cPlugin:GetLocalFolder() instead.
Warning: [23:06:09] Stack trace:
Warning: [23:06:09] [C](-1): GetLocalDirectory
Warning: [23:06:09] Plugins/Jailed/main.lua(19): (no name)
Warning: [23:06:09] Stack trace end
Log: [23:06:09] Initialised Jailed v.1
======================================

When a player has no UUID - player not found.


RE: Jailed v1 - NiLSPACE - 08-20-2015

This is easy to fix. Simply replace GetLocalDirectory with GetLocalFolder.


RE: Jailed v1 - tonibm19 - 08-20-2015

Please use Essentials instead