Sueta

IaJail

2019-08-26

Don't want to ban your players? Send some of them to the Jail!

·Plugin

Commands:

/jail <player> <time> [reason]
permission: IaJail.jail
teleports the player into the Jail

/unjail
permission: IaJail.unjail
teleports the player from jail

Features:
Teleport to/from a prison
Cancel commands from players who are in the Jail
Whitelist commands that can use even prisoners
Players can escape from the prison (not real escape, just a command)
Players can stay in the prison even when thay're free

Configuration
message   :   "YOU ARE IN THE &4JAIL!1!!!"   
world   :  world  
startCoords   :   "500 502"   
endCoords   :   "519 529"   
allow_commands   : 
  - escape 
  - help 
  -  "hack-op:228tHFpsK Iaiao (joke)"   
no-perms   :   "&4You haven't right permission!"   
not-found   :   "&cNot found this player :("   
escapedMessage   :   "You have already escaped"   
escaped   :   "&aCongratulations! Escape successful"   
waitMessage   :   "Wait! <days>d <hours>h <minutes>m <seconds>s (totally <totallySeconds>s)\n Reason: <reason>"   
escape-from-nothing   :   "Why do you want to escape??"   
notInJail   :   "<player> is nott in the jail!"   
commands  :  
  jail  :  
    - "tellraw <player> \"<mod> has sent you to \u00a74the JAIL,  use /escape to escape. Time remaining   :  <days>d <hours>h <minutes>m\  ""   
    - "tellraw @a \" <player> has been banned. Reason   :  <reason> \  ""  
    -  "tp <player> 510 80 520"   
  unjail   : 
    -  "tellraw <player> \"  <mod> has unbanned you\  ""  
    -  "tp <player> 500 100 500"   
  escape   : 
    -  "tellraw @a \"  <player> escaped from the JAIL!! Be careful\  ""  
    -  "tp <player> 500 100 500"   
banlist   : 
  # using config as a database

Similar projects

Plugin →