Just so you know, we don't know the file format for every file. If it's just a bunch of random characters, it's probably a .zip or .jar.
#angel.ban
#angel.kick
#angel.warn
#angel.unban
#angel.banip
#angel.baninfo
# editable prefixes v
options:
prefix: &7&lANGEL &f|
servername: &7&lheavenly
command /shelp:
permission: angel.help
permission message: {@prefix} &fUnknown command. Type "/help" for help.
trigger:
send "{@prefix}"
send ""
send "&cCommands:"
send "&7/ban : &fKicks the player and prevents him to join again."
send "&7/kick : &fKicks the player, still can join again."
send "&7/warn : &fWarns the player"
send "&7/unban : &fRemoves the suspend of a banned player."
send "&7/ipban : &fKicks the player and prevents him from joining from his Address."
send "&7/baninfo : &fShows the information of a banned player."
command /warn [<player>] [<text>]:
permission: angel.warn
permission message: {@prefix} &cYou do not have the rights to do that command.
trigger:
if arg 1 is set:
if arg 2 is set:
message "{@prefix} &7You have been &4&lWARNED &7for &f%arg-2%" to arg 1
message "{@prefix} &c%arg-1% &7has been successfully warned"
else:
message "{@prefix} &cWrong Usage, /warn <player> <reason>"
else:
message "{@prefix} &cWrong Usage, /warn <player> <reason>"
command /ban [<offlineplayer>] [<text>]:
permission: angel.ban
permission message: {@prefix} &cYou do not have the rights to do that command.
trigger:
if arg 1 is set:
if arg 2 is set:
set {banned.%arg 1%} to true
set {ban.time.%arg 1%} to now
set {ban.reason.%arg 1%} to arg 2
set {ban.expire.%arg 1%} to "Never"
set {ban.bannedby.%arg 1%} to player
set {BanIP.%arg 1%} to "False"
kick arg 1 due to "{@prefix} &cYou have been permanently banned from {@servername} &cReason : &f%arg-2% "
ban arg 1 due to "{@prefix} &cYou have been permanently banned from {@servername} &cReason : &f%arg-2% "
broadcast "{@prefix} &c%arg-1% &7has been permanently banned from {@servername} &7for &f%arg-2%"
message "{@prefix} &aSuccessfully banned &c%arg-1%"
else:
message "{@prefix} &cWrong Usage, /ban <player> <reason>"
else:
message "{@prefix} &cWrong Usage, /ban <player> <reason>"
command /unban [<offlineplayer>]:
permission: angel.unban
permission message: {@prefix} &cYou do not have the rights to do that command.
trigger:
if arg 1 is set:
if {banned.%arg-1%} is true:
unban arg 1
unban ip of arg 1
set {banned.%arg-1%} to false
broadcast "{@prefix} &a%arg-1% is now unbanned."
message "{@prefix} &aYou successfuly unbanned %arg-1%"
else:
message "{@prefix} &c%arg-1% is not banned."
else:
message "{@prefix} &cWrong Usage, &cUse /unban (player)"
command /ipban [<offlineplayer>] [<text>]:
aliases: banip
permission: angel.banip
permission message: {@prefix} &cYou do not have the rights to do that command.
trigger:
if arg 1 is set:
if arg 2 is set:
set {banned.%arg 1%} to true
set {ban.time.%arg 1%} to now
set {ban.reason.%arg 1%} to arg 2
set {ban.expire.%arg 1%} to "Never"
set {ban.bannedby.%arg 1%} to player
set {BanIP.%arg 1%} to "True"
kick arg 1 due to "{@prefix} &cYou have been permanently banned from {@servername} &cReason : &f%arg-2% "
ban arg 1 due to "{{@prefix} &cYou have been permanently banned from {@servername} &cReason : &f%arg-2% "
broadcast "{@prefix} &c%arg-1% &7has been suspended from {@servername} &7for &f%arg-2%"
message "{@prefix} &aSuccessfully ipbanned &c%arg-1%."
else:
message "{@prefix} &cWrong Usage, /ipban &c(player) &7(reason)"
command /kick [<offlineplayer>] [<text>]:
permission: angel.kick
permission message: {@prefix} &cYou do not have the rights to do that command.
trigger:
if arg 1 is set:
if arg 2 is set:
kick arg 1 due to "{@prefix} &cYou have been kicked by &c%player% &cfor &c%arg-2%"
broadcast "{@prefix} &c%arg-1% &7has been kicked from {@servername} &7for &f%arg-1%"
message "{@prefix} &asuccessfully kicked %arg-1%"
else:
message "{@prefix} Wrong Usage, Use /kick (player) (reason)"
else:
message "{@prefix} Wrong Usage, Use /kick (player) (reason)"
command /baninfo [<offlineplayer>]:
aliases: baninfo, pinfo, punishinfo
permission: angel.baninfo
permission message: {@prefix} &cYou do not have the rights to do that command.
trigger:
if arg 1 is set:
if {banned.%arg-1%} is true:
message "{@prefix} information of &7%arg-1%:"
message " &cUsername &7| &7%arg-1%"
message " &cBanned by &7| &7%{ban.bannedby.%arg 1%}%"
message " &cReason of Ban &7| &7%{ban.reason.%arg 1%}%"
message " &cBanned-IP &7| &7%{BanIP.%arg 1%}%"
message " &cDuration &7| &7%{ban.expire.%arg 1%}%"
else:
message "{@prefix} &c%arg-1% is not banned."
else:
message "{@prefix} &cWrong Usage, Use /baninfo (player)"