diff options
author | Alexander Harkness <bearbin@gmail.com> | 2013-07-31 18:10:59 +0200 |
---|---|---|
committer | Alexander Harkness <bearbin@gmail.com> | 2013-07-31 18:10:59 +0200 |
commit | 8ced99994bb654b935e5f858e1f13327ea7381fc (patch) | |
tree | ea716c9304b59a1dc37963f9e04f3081605f3daf /MCServer/Plugins/Core/ban-unban.lua | |
parent | Merge branch 'master' of github.com:tigerw/MCServer into tigerw-master (diff) | |
download | cuberite-8ced99994bb654b935e5f858e1f13327ea7381fc.tar cuberite-8ced99994bb654b935e5f858e1f13327ea7381fc.tar.gz cuberite-8ced99994bb654b935e5f858e1f13327ea7381fc.tar.bz2 cuberite-8ced99994bb654b935e5f858e1f13327ea7381fc.tar.lz cuberite-8ced99994bb654b935e5f858e1f13327ea7381fc.tar.xz cuberite-8ced99994bb654b935e5f858e1f13327ea7381fc.tar.zst cuberite-8ced99994bb654b935e5f858e1f13327ea7381fc.zip |
Diffstat (limited to '')
-rw-r--r-- | MCServer/Plugins/Core/ban-unban.lua | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/MCServer/Plugins/Core/ban-unban.lua b/MCServer/Plugins/Core/ban-unban.lua index cee511e37..da9ee2d6c 100644 --- a/MCServer/Plugins/Core/ban-unban.lua +++ b/MCServer/Plugins/Core/ban-unban.lua @@ -1,6 +1,6 @@ function HandleBanCommand( Split, Player ) if( #Split < 2 ) then - Player:SendMessage( cChatColor.Green .. "Usage: /ban [Player] <Reason>" ) + Player:SendMessage(cChatColor.Yellow .. "[INFO] " .. cChatColor.White .. "Usage: /ban [Player] <Reason>" ) return true end @@ -10,7 +10,7 @@ function HandleBanCommand( Split, Player ) end if( BanPlayer(Split[2], Reason) == false ) then - Player:SendMessage( cChatColor.Green .. "Could not find player " .. Split[2] ) + Player:SendMessage(cChatColor.Rose .. "[INFO] " .. cChatColor.White .. "Could not find player " .. Split[2] ) return true end @@ -40,12 +40,12 @@ end function HandleUnbanCommand( Split, Player ) if( #Split < 2 ) then - Player:SendMessage( cChatColor.Green .. "Usage: /unban [Player]" ) + Player:SendMessage(cChatColor.Yellow .. "[INFO] " .. cChatColor.White .. "Usage: /unban [Player]" ) return true end if( BannedPlayersIni:GetValueB("Banned", Split[2], false) == false ) then - Player:SendMessage( cChatColor.Green .. Split[2] .. " is not banned!" ) + Player:SendMessage(cChatColor.Rose .. "[INFO] " .. cChatColor.White .. " is not banned!" ) return true end |