BungeeJail is a simple Plug in, which allows you to manage a BungeeCord Jail Server.
Jailed players won't be able to join any server, neither the Hub server. Instead they will be immediately forwarded to the Jail server specified in the configuration.
Players on the Jail Server will be connected back to the Hub (which is specified in the configuration) at the end of their Jail Time.
Jailed Players won't be able to leave the Jail server.
And of course the Jail Time will be tracked for online Players only. So the Jail Time for offline Players won't decrease.
Higly customizable, all Chat Messages are editable in the Configuration.
Detailed Permissions provide a high security.
This Plug in offers the opportunity to block chat for players in Jail. Even to block individual or just all commands for players in Jail.
You can optional allow jailed Players to join the Hub Server.
Of course you can provide non-jailed Players access to the Jail server, too. These Players can leave and play in the Jail, like on every else Server.
Commands:
<...>: Necessary Parameter
[...]: Optional Parameter
- /bungeejail jail <player> <time> [reason] - Send a Player to jail. Time Syntax: <Seconds>s OR <Minutes>m OR <Hours>h OR <Days>d
- /bungeejail unjail <player> - Unjail a player
- /bungeejail check [player] - Check if yourself or another player is jailed
- /bungeejail about - Show information about the Plugin
- /bungeejail reload - Reload the Plugin configuration
Permissions:
- bungeejail.command.use - Use the "/bungeejail" command
- bungeejail.command.check.self - Check your own Jail state
- bungeejail.command.check.others - Check the Jail state from others
- bungeejail.command.jail - Jail an online player
- bungeejail.command.jail.offline - Jail an offline player
- bungeejail.command.jail.exempt - Prevents a specified group or player from being jailed
- bungeejail.command.jail.notify - Players with this permission will receive a notification when a player is jailed
- bungeejail.command.unjail - Unjail an online player
- bungeejail.command.unjail.offline - Unjail an offline player
- bungeejail.command.bukkit.allow.<command> - Allow specific Server commands, if "disable-bukkit-commands" in the Configuration is set true
- bungeejail.command.bungeecord.allow.<command> - Allow specific BungeeCord commands, if "disable-bungeecord-commands" in the Configuration is set true
- bungeejail.chat.exempt - Allow Players to Chat, if "disable-chat" is set true
Configuration:
Code (YAML):
settings
:
#Specify the Jail Server here:
jailserver
: jail
#Specify the Hub Server here:
hubserver
: lobby
#Set if jailed Users be able to connect to the defined lobby
allow-hubconnect
: false
#Define if players can use commands from the local Minecraft server
disable-bukkit-commands
: false
#Define if players can use commands from the global Bungeecord Server
disable-bungeecord-commands
: false
#Define a list which of Commands jailedusers be able to use, when commands are disabled
allowedbukkitcommands
:
[
]
allowedbungeecordcommands
:
[
]
#Define if jailed users be able to chat
disable-chat
: false
#Announcements tell the Player, how long he still has to be in Jail.
#Specify the times until release (in seconds) for Announcements:
announcementlist
:
- '5'
- '15'
- '30'
- '60'
- '300'
- '600'
- '900'
#Defines if the plugin works as tempban manager too
offlinetimeexpiration
: false
#Define which alias the subcommand is accessable
commandalias:
jail
: jail
unjail
: unjail
checkjail
: checkjail
messages:
pluginprefix
: §8
[§6BungeeJail§8
] §e
nopermission
: §cYou don't have the permission to use this command!
cmdtargetjailed
: '§eYou have been jailed §7
{
[<TARGET>
]
}§e. Because you
{
[<REASON>
]
}, you have to stay here for §7
{
[<TIME>
]
}§e.
cmdchecktargetjailed
: '§ePlayer §7
{
[<TARGET>
]
}§e has to be in Jail for §7
{
[<TIME>
]
}§e. Reason
: He §7
{
[<REASON>
]
}§e.'
cmdtargetunjailed
: §eYou have been released, §7
{
[<TARGET>
]
}§e.
cmdtargetjailedbroadcast
: '§ePlayer §7
{
[<TARGET>
]
}§e has to be §7
{
[<TIME>
]
}§e in Jail. Reason
: He §7
{
[<REASON>
]
}§e.'
cmdtargetisnotinjail
: §7
{
[<TARGET>
]
}§e is not in jail.
defaultjailreason
: §ccommitted a crime
targetjailed
: §eYou have been jailed for §7
{
[<TIME>
]
}§e, because §7
{
[<REASON>
]
}§e.
jailmessageonjoin
: §eYou have been jailed for §7
{
[<TIME>
]
}§e, because §7
{
[<REASON>
]
}§e.
jailmessageonotherserverjoin
: §cYou can't join the server, because you are in jail.
targetunjailannouncement
: §eYou will be released in §7
{
[<TIME>
]
}§e.
targetunjailed
: §eYou were released.
timeleftactionbar
: §bTime left in jail
: §7
{
[<TIME>
]
}s
Added Features:
- Support of the MultiLobby Plugin
- Disable BungeeCord Commands for jailed Players
- Disable Bukkit Commands for jailed Players
- Disable chatting for jailed Players
- Optional (Configuration option) allow jailed Players to join the Hub Server
- Config will load and save in UTF-8
- possibility to define aliases for subcommands
- possibility to use BungeeJail as JailManager, read update 1.15 for more informations
Planned Features:
- Extract Messages into an external Messages YML specified in the Configuration
- save Users in an mysql database