[1.12.2] [FEATURE] Jailing
cestofmir opened this issue ยท 4 comments
Is your feature request related to a problem? Please describe.
Jailing is a feature that many plugins and mods provide, but none exist for 1.12.2 as a forge mod.
Describe the solution you'd like
I would like ForgeEssentials to include a jail feature, where players can be jailed as a punishment rather than just banning. This would have them teleported to a specific area and be made unable to break any blocks (ideally their inventory would also be emptied while they're jailed).
Describe alternatives you've considered
I've considered making a "prisoner" rank but that would be quite difficult, require a bit of micromanagement, and be difficult to explain for server moderators.
Additional context
Here are similar plugins/mods:
https://www.curseforge.com/minecraft/mc-mods/simple-jail
https://www.spigotmc.org/resources/simplejail.10079/
It is worth considering, either as an improvement to the FE JS system to allow something like this to be implemented or a full Jail system in code. Please go ahead and join our discord so this can be discussed further.
(theoretically you could implement it in FE Scripting by building a special zone, setting permission to a jailed rank so they can't break blocks, use items, etc. Even clearing inventory, all this can be done via scripting and permissions
See https://github.com/ForgeEssentials/ForgeEssentials/wiki/JS-Scripting
)
@spacebuilder2020 I made a rough script that does this, can I contribute it to the FEScript Repo?
Okay, I finished bugfixing and adding new features for now:
Added PR with the jail command here: ForgeEssentials/FEJSScripts#3
If you have issues with the command or questions, DM me on Discord, same username.