HACK CONTROL COMMANDS:
/ss - show help
/ss start (customizable) - Start a hack control to a player
/ss end (customizable) - Stop hack control
/ss reload - reload the configs without need to reload the server
/ss setspawnmod - set the spawn of the mod when a hack control start.
/ss setspawnplayer - set the spawn of the player when a hack control start.
ALL THE MESSAGES OF THE PLUGIN ARE CUSTOMIZABLE
Code (YAML):
prefix
: '&cHack&4Control&7
: '
commandToPerformWhenFinish
: spawn
commandIfQuitHackControl
: tempban
{player-name
} 30d Slog during hack check
hackcontroltitle
: '&c&lHACK CONTROL'
hackcontrolsubtitle
: '&7If you quit you will be banned for 30 days!'
startedcontroltitle
: '&6&lSTARTED CONTROL'
startedcontrolsubtitle
: '&7You started hacking control at
{player-name
}'
unabletousecommands
: '&cYou can''t execute commands during a hack check.'
onlymodcanfinishcontrol
: '&7Only
{mod-name
} can finish the hack control.'
hackcontrolfinishplayermsg
: '&7Hack check passed, sorry for the inconvenience.'
hackcontrolfinishmodmsg
: '&7Hack check finished, false alarm huh?'
modspawnsetsuccess
: '&aModerator spawn set successfully!'
playerspawnsetsuccess
: '&aPlayer spawn set successfully!'
cannotdoyourselfcontrol
: '&cYou can''t do a hack check on yourself.'
hackcheckcancelled
: '&cHack check canceled.'
hackcheckcancelledmod
: '&aHack check canceled because moderator quit.'
modSpawn:
==
: org.bukkit.Location
world
: world
x
: 160.24918954207527
y
: 62.0
z
: 253.6846086561722
pitch
: 10.049923
yaw
: -88.50552
playerSpawn:
==
: org.bukkit.Location
world
: world
x
: 160.24918954207527
y
: 62.0
z
: 253.6846086561722
pitch
: 10.049923
yaw
: -88.50552
playerselectfirst
: '&cYou have to select a player first!'
playernotonline
: '
{player-name
} is not online!'
hackcontrolendcommand
: end
hackcontrolstartcommand
: start
AND IS CUSTOMIZABLE THE COMMAND TO DO WHEN A PLAYER QUIT THE HACK CONTROL AND THE COMMAND TO DO WHEN THE HACK CONTROL FINISH
PERMISSION TO ADD FOR USE THE COMMAND /ss WITHOUT THE OP: hackcontrol.* (THE OP IS ONLY NEEDED FOR SET THE SPAWN OF THE MOD AND OF THE PLAYER)