Posts by Fajniak

The Aternos forums are now deprecated

Learn more about this change here.

For help regarding Aternos, we recommend you to visit our support center.

    Rank WARRIOR SKILLED AND PRO!:aternos:<3

    PLUGIN:

    on first join:

    set {rank} to "none"


    command /rank [<text>] [<offline player>] [<text>]:

    permission: rank.use

    permission message: &cNo permission!

    trigger:

    if arg 1 is not set:

    send "&e/rank &7set &b(player) &3(rank)"

    send "&e/rank &7reset"

    send "&e/rank &7list"

    send "&e&m---&7&m---&b&m---&7&m---&e&m---"

    if arg 1 is "list":

    send "&eRank &7>> &a&lPRO"

    send "&eRank &7>> &c&lWARRIER"

    send "&eRank &7>> &6&lSKILLED"

    if arg 1 is "set":

    if arg 2 is not set:

    send "&7/rank &eset &b(player) &3(rank)"

    if arg 2 is set:

    if arg 3 is "pro":

    set {rank} to "pro"

    broadcast "&eRank &7>> &b%player% has just purchased &a&lPRO &bfor &a&l$3&b!"

    if arg 3 is "warrier":

    set {rank} to "warrier"

    broadcast "&eRank &7>> &b%player% has just purchased &c&lWARRIER &bfor &c&l$5&b!"

    if arg 3 is "skilled":

    set {rank} to "skilled"

    broadcast "&eRank &7>> &b%player% has just purchased &6&lSKILLED &bfor &6&l$10&b!"

    if arg 1 is "reset":

    set {rank} to "none"

    broadcast "&eRank &7>> &b%player% has just reseted! &b(Rank: %{rank}%&b)"


    on chat:

    if {rank} is "none":

    cancel event

    broadcast "&e%player% &7>> &b%message%"

    if {rank} is "pro":

    cancel event

    broadcast "&a&lPRO &e%player% &7>> &b%message%"

    if {rank} is "warrier":

    cancel event

    broadcast "&c&lWARRIER &e%player% &7>> &b%message%"

    if {rank} is "skilled":

    cancel event

    broadcast "&6&lSKILLED &e%player% &7>> &b%message%"