Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ### OUTDATED, RECODING A NEW ONE ###
- # Presented By: skGravity
- # Logger
- # Coded in skript
- # skGravity does not take responsibilty for what words/phrases/anything our skripts are used for. For more, visit our website @ <coming soon>
- command //log [<text>]:
- permission: Log.Main
- permission message: &cLogger> You do not have permission to use this command.
- trigger:
- if arg-1 is "Global":
- send {lGlobal::*} to executor
- else if arg-1 is "Chat":
- send {lChat::*} to executor
- else if arg-1 is "Commands" or "Cmds":
- send {lCommands::*} to executor
- else if arg-1 is "Blocks":
- send {lBlocks::*} to executor
- else if arg-1 is "clear":
- delete {lGlobal::*}
- delete {lBlock::*}
- delete {lCommand::*}
- delete {lChat::*}
- else if arg-1 is "Help":
- send "&e[ADMIN HELP]" to executor
- send "" to executor
- send "&e//log global &f(Shows the global logs (All Logs))" to executor
- send "&e//log chat &f(Shows chat logs)" to executor
- send "&e//log commands &f(Shows command logs)" to executor
- send "&e//log blocks &f(Shows chat logs)" to executor
- send "&e//log spy &f(Shows everything players do)" to executor
- send "" to executor
- else if arg-1 is "spy":
- if {%player%.Spy} is not set:
- send "&e[LOGGER] &fSpy enabled."
- set {%player%.Spy} to "on"
- else:
- send "&e[LOGGER] &fSpy disabled."
- delete {%player%.Spy}
- else:
- send "&e[LOGGER]&f An error occured with your command, please execute ""//log help"" for help." to executor
- on chat:
- add "&c[CHAT] &e[%player%] &f%message%" to {lChat::*}
- add "&c[CHAT] &e[%player%] &f%message%" to {lGlobal::*}
- on command:
- if arguments are set:
- add "&c[COMMAND] &e[%player%] &f/%command% %arguments%" to {lCommands::*}
- add "&c[COMMAND] &e[%player%] &f/%command% %arguments%" to {lGlobal::*}
- loop all players:
- if {%loop-player%.Spy} is "on":
- set action bar of loop-player to "&6[CMDSPY] &f%player% > /%command% %arguments%"
- else:
- add "&c[COMMAND] &e[%player%] &f/%command%" to {lCommands::*}
- add "&c[COMMAND] &e[%player%] &f/%command%" to {lGlobal::*}
- loop all players:
- if {%loop-player%.Spy} is "on":
- set action bar of loop-player to "&6[CMDSPY] &f%player% > /%command%"
- on place:
- add "&c[PLACE] &e[%player%] &f%event-block% @ %location of event-block%" to {lBlocks::*}
- add "&c[PLACE] &e[%player%] &f%event-block% @ %location of event-block%" to {lGlobal::*}
- on break:
- add "&c[BREAK] &e[%player%] &f%event-block% @ %location of event-block%" to {lBlocks::*}
- add "&c[BREAK] &e[%player%] &f%event-block% @ %location of event-block%" to {lGlobal::*}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement