Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on load:
- if file "plugins/Logs/Console.yml" doesn't exist:
- create file "plugins/Logs/Console.yml"
- wf "##Console Commands" to "plugins/Logs/Console.yml"
- on join:
- if file "plugins/Logs/%player%/%uuid of player%.yml" doesn't exist:
- create file "plugins/Logs/%player%/%uuid of player%.yml"
- wf "##%player% messages and commands" to "plugins/Logs/%player%/%uuid of player%.yml"
- on chat:
- set {chat.%player%} to now
- wf "[%{chat.%player%}%] Message: %player% > %message%" to "plugins/Logs/%player%/%uuid of player%.yml"
- on command:
- set {command.%player%} to now
- wf "[%{command.%player%}%] Command: %player% > /%full command%" to "plugins/Logs/%player%/%uuid of player%.yml"
- if executor is console:
- wf "Command: CONSOLE > /%full command%" to "plugins/Logs/Console.yml"
- on chat:
- if message contains "fuck" or "cuck" or "ass" or "bitch" or "cunt":
- send "&cSwearing is not allowed"
- send "&cyour message has been logged"
- wf "Swear: %player% > %message%" to "plugins/logs/Swears.yml"
- cancel event
- on block place:
- set {place.%player%} to now
- wf "[%{place.%player%}%] Placed Block: %player% %event-item% %event-location%" to "plugins/Logs/%player%/%uuid of player%.yml"
- on block break:
- set {break.%player%} to now
- wf "[%{break.%player%}%] Broken Block: %player% %event-item% %event-location%" to "plugins/Logs/%player%/%uuid of player%.yml"
- on death:
- set {death.%player%} to now
- if attacker is player:
- wf "[%{death.%player%}%] Death: %attacker% killed %victim%" to "plugins/Logs/Deaths.yml"
- else if victim is player:
- wf "[%{death.%player%}%] Death: %victim% died" to "plugins/Logs/Deaths.yml"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement