- command ansæt [<offline player>]:
- permission: an.fy.allow
- trigger:
- open chest with 3 rows named "&4&lAnsæt %arg 1%" to player
- wait 1 tick
- format slot 0 of player with wood axe named "&2&lBygger" with lore "&2Ansæt til bygger" to close then run [execute console command "bygger %arg 1%"]
- format slot 3 of player with book and quill named "&d&lHjælper" with lore "&dAnsæt til Hjælper" to close then run [execute console command "hjælper %arg 1%"]
- format slot 5 of player with Iron helmet named "&5&lModerator" with lore "&5Ansæt til Moderator" to close then run [execute console command "mod %arg 1%"]
- format slot 13 of player with golden sword named "&3&lVagt" with lore "&3Ansæt til vagt" to close then run [execute console command "vagtvagt %arg 1%"]
- format slot 21 of player with gold helmet named "&c&lAdmin" with lore "&cAnsæt til Admin" to close then run [execute console command "admin %arg 1%"]
- format slot 23 of player with Diamond helmet named "&4&lHead-Admin" with lore "&4Ansæt til Head-Admin" to close then run [execute console command "hadmin %arg 1%"]
- format slot 26 of player with 166 named "&4&lfyr" with lore "&4Viser hvad man skal gøre for at fyre" to close then run [make player execute command "/fyr"]
- command vagtvagt [<offline player>]:
- permission: an.fy.allow
- trigger:
- execute console command "/ne player %arg 1% prefix &3cvagt &7"
- execute console command "/manuadd %arg 1% cvagt"
- broadcast "&1[&6Ansætning&1] &e%arg 1% er lige blevet ansat som &3&lVAGT"
- command bygger [<offline player>]:
- permission: an.fy.allow
- trigger:
- execute console command "/ne player %arg 1% prefix &2Bygger &7"
- execute console command "/manuadd %arg 1% bygger"
- broadcast "&1[&6Ansætning&1] &e%arg 1% er lige blevet ansat som &2&lBYGGER"
- command hjælper [<offline player>]:
- permission: an.fy.allow
- trigger:
- execute console command "/ne player %arg 1% prefix &dHjælper &7"
- execute console command "/manuadd %arg 1% hjælper"
- broadcast "&1[&6Ansætning&1] &e%arg 1% er lige blevet ansat som &d&lHJÆLPER"
- command mod [<offline player>]:
- permission: an.fy.allow
- trigger:
- execute console command "/ne player %arg 1% prefix &5Moderator &7"
- execute console command "/manuadd %arg 1% moderator"
- broadcast "&1[&6Ansætning&1] &e%arg 1% er lige blevet ansat som &5&lMODERATOR"
- command admin [<offline player>]:
- permission: an.fy.allow
- trigger:
- execute console command "/ne player %arg 1% prefix &cAdmin &7"
- execute console command "/manuadd %arg 1% admin"
- broadcast "&1[&6Ansætning&1] &e%arg 1% er lige blevet ansat som &c&lADMIN"
- command hadmin [<offline player>]:
- permission: an.fy.allow
- trigger:
- execute console command "/ne player %arg 1% prefix &4H-Admin &7"
- execute console command "/manuadd %arg 1% hadmin"
- broadcast "&1[&6Ansætning&1] &e%arg 1% er lige blevet ansat som &4&lHEAD-ADMIN"
- options:
- prefix: &eAmmut &7
- rank: ammut
- command fyr [<text>] [<offline player>] [<text>]:
- permission: an.fy.allow
- trigger:
- if arg 1 is not set:
- send "for at fyre skal du skrive /fyr [<Rank>] [<Spiller>] [<Grund>]"
- if arg 1 is "bygger":
- if arg 3 is set:
- broadcast "&1&m------&r &6Fyring &1&m------"
- broadcast "&6Spiller: &d%arg 2%"
- broadcast "&6Rank: &2Bygger"
- broadcast "&6Fyringsgrund: &d%arg 3%"
- broadcast "&1&m-------------------"
- execute console command "/ne player %arg 2% prefix {@prefix}"
- execute console command "/manuadd %arg 2% {@rank}"
- execute console command "/spawn %arg 2%"
- execute console command "/eco reset %arg 2%"
- if arg 1 is "hjælper":
- if arg 3 is set:
- broadcast "&1&m------&r &6Fyring &1&m------"
- broadcast "&6Spiller: &d%arg 2%"
- broadcast "&6Rank: &dHjælper"
- broadcast "&6Fyringsgrund: &d%arg 3%"
- broadcast "&1&m-------------------"
- execute console command "/ne player %arg 2% prefix {@prefix}"
- execute console command "/manuadd %arg 2% {@rank}"
- execute console command "/spawn %arg 2%"
- execute console command "/eco reset %arg 2%"
- if arg 1 is "moderator" or "mod":
- if arg 3 is set:
- broadcast "&1&m------&r &6Fyring &1&m------"
- broadcast "&6Spiller: &d%arg 2%"
- broadcast "&6Rank: &5Moderator"
- broadcast "&6Fyringsgrund: &d%arg 3%"
- broadcast "&1&m-------------------"
- execute console command "/ne player %arg 2% prefix {@prefix}"
- execute console command "/manuadd %arg 2% {@rank}"
- execute console command "/spawn %arg 2%"
- execute console command "/eco reset %arg 2%"
- if arg 1 is "admin":
- if arg 3 is set:
- broadcast "&1&m------&r &6Fyring &1&m------"
- broadcast "&6Spiller: &d%arg 2%"
- broadcast "&6Rank: &cAdmin"
- broadcast "&6Fyringsgrund: &d%arg 3%"
- broadcast "&1&m-------------------"
- execute console command "/ne player %arg 2% prefix {@prefix}"
- execute console command "/manuadd %arg 2% {@rank}"
- execute console command "/spawn %arg 2%"
- execute console command "/eco reset %arg 2%"
- if arg 1 is "headadmin" or "hadmin":
- if arg 3 is set:
- broadcast "&1&m------&r &6Fyring &1&m------"
- broadcast "&6Spiller: &d%arg 2%"
- broadcast "&6Rank: &4Head Admin"
- broadcast "&6Fyringsgrund: &d%arg 3%"
- broadcast "&1&m-------------------"
- execute console command "/ne player %arg 2% prefix {@prefix}"
- execute console command "/manuadd %arg 2% {@rank}"
- execute console command "/spawn %arg 2%"
- execute console command "/eco reset %arg 2%"