
NaughtyMode 5.1.1
instead of banning naughty players, put them in the naughty game mode!
This plugin will allow server moderator/administrator to put a naughty player into the naughty game mode.
Once player is put in the naughty game mode, he CANNOT:
Basically s/he needs to just quietly roaming around so that s/he won't bother other players. The naughty mode is time-based gamemode. It will automatically expire. (In case moderator/admin forget to remove those naughty players from the naughty list)
Commands:
Instrallation:
You just put NaughtyMode.jar file into your server's plugins folder.
Configuration:
[dropdown=config.yml]
[/FONT][/COLOR][/font][/color][/font][/size][/color]
Messages:
ErrorMsg : "&c[NaughtyMode] : Some error occured."
NoPermForList: "&c[NaughtyMode] You don't have permission to see the Naughty lists!"
Added: "&aAdded the player &e%player% &ato the naughty list."
AlreadyAdded: "&aThe player &e%player% &cis already on the naughty list!"
Removed: "&aRemoved the player &e%player% &afrom the naughty list."
NoPerm: "&aYou don't have a permission to do this!"
NotOnList: "&aThe player &e%player% &ais not on the list"
YouAreOnList: "&aYou're on the naughty list! You're now allowed to do anything!"
YouAreOffList: "&aYou're no longer on the naughty list!"
HelpMessages:
banner:
msg: "=== &e[&aNaughtyMode Commands List (%version%)&e] &r==="
help:
msg: "&a/naughty help : displays this help menu."
reload:
msg: "&a/naughty reload : reloads config file."
permission: "naughtymode.reload"
debug:
msg: "&a/naughty debug : turn on / off the debug mode."
permission: "naughtymode.debug"
list:
msg: "&a/naughty list : lists the players who are currently on the naughty list."
permission: "naughtymode.admin"
add:
msg: "&a/naughty add [duration] : add owner-based command to the command list."
permission: "naughtymode.admin"
remove:
msg: "&a/naughty remove : removes from the naughty list."
permission: "naughtymode.admin"
# by default, the naught mode will last 1h.
DefaultDuration: 3600 #in second
# c:chatting, w:writing, b:block-break/placing, p:pvp, m:moving u:use
DefaultMode: cwbpu
[/dropdown]
Once player is put in the naughty game mode, he CANNOT:
- chat (including /msg, /r, /yell, etc)
- break blocks,
- place blocks,
- write a book
- write a sign
- move
- give damage to others
- use entity
- execute a command
- restrict the spawn/teleport to the specific world (spawn point).
Basically s/he needs to just quietly roaming around so that s/he won't bother other players. The naughty mode is time-based gamemode. It will automatically expire. (In case moderator/admin forget to remove those naughty players from the naughty list)
Commands:
- /naughty help : displayer the help menu
- /naughty reload : reload the config.yml
- /naughty list : lists the name of players who are currently in the naughty gamemode.
- /naughty add [seconds] [mode:cwbpmue] : puts in the naughty gamemode for [seconds], If [seconds] is not specified, the default duration will be used.
- following "mode:" can be used:
- c : prevent chat
- w : prevent writing sign/book
- b : prevent placing/breaking blocks
- p : prevent giving damage to others
- m : prevent movement
- u : prevent use of item
- e : prevent execution of a command
- s : restrict the spawn point to the specified naughty spawn. (assumes that naughty spawn point is set in the special naughty world you wish the player to be confined to.)
- Default mode is mode:cwbpu and can be changed in config.yml.
- following "mode:" can be used:
- /naughty remove : removes from the naughty list.
- /naughty setspawn : set the naughty spawn point to the location where you're standing.
- /naughty removespawn : remove the naughty spawn point.
- naughtymode.reload : allows you to use the reload command
- naughtymode.admin : allows you to use list/add/remove commands.
Instrallation:
You just put NaughtyMode.jar file into your server's plugins folder.
Configuration:
[dropdown=config.yml]
[/FONT][/COLOR][/font][/color][/font][/size][/color]
Messages:
ErrorMsg : "&c[NaughtyMode] : Some error occured."
NoPermForList: "&c[NaughtyMode] You don't have permission to see the Naughty lists!"
Added: "&aAdded the player &e%player% &ato the naughty list."
AlreadyAdded: "&aThe player &e%player% &cis already on the naughty list!"
Removed: "&aRemoved the player &e%player% &afrom the naughty list."
NoPerm: "&aYou don't have a permission to do this!"
NotOnList: "&aThe player &e%player% &ais not on the list"
YouAreOnList: "&aYou're on the naughty list! You're now allowed to do anything!"
YouAreOffList: "&aYou're no longer on the naughty list!"
HelpMessages:
banner:
msg: "=== &e[&aNaughtyMode Commands List (%version%)&e] &r==="
help:
msg: "&a/naughty help : displays this help menu."
reload:
msg: "&a/naughty reload : reloads config file."
permission: "naughtymode.reload"
debug:
msg: "&a/naughty debug : turn on / off the debug mode."
permission: "naughtymode.debug"
list:
msg: "&a/naughty list : lists the players who are currently on the naughty list."
permission: "naughtymode.admin"
add:
msg: "&a/naughty add [duration] : add owner-based command to the command list."
permission: "naughtymode.admin"
remove:
msg: "&a/naughty remove : removes from the naughty list."
permission: "naughtymode.admin"
# by default, the naught mode will last 1h.
DefaultDuration: 3600 #in second
# c:chatting, w:writing, b:block-break/placing, p:pvp, m:moving u:use
DefaultMode: cwbpu
[/dropdown]