Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- script options:
- $ use permissions
- on join:
- if {notify.enabled.%player%} is true:
- set {notify.enabled.%player%} to false
- command /permission <text> <text> <text>:
- trigger:
- if arg 1 is "owner":
- if arg 2 is "add":
- if arg 3 is set:
- add arg 3 to {rank.owner}
- message "&7%arg 3% has been added to Group: %arg 1%"
- command /rank <offline player> <text>:
- permission: "rank.set"
- permission message: &c&l!! &7This command is only available to &c[ADMIN]&7.
- trigger:
- if arg 1 is set:
- if arg 2 is "helper":
- set {rank.helper.%uuid of arg 1%} to true
- set {rank.moderator.%uuid of arg 1%} to false
- set {rank.admin.%uuid of arg 1%} to false
- set {rank.developer.%uuid of arg 1%} to false
- set {rank.owner.%uuid of arg 1%} to false
- set {rank.default.%uuid of arg 1%} to false
- set {rank.builder.%uuid of arg 1%} to false
- set {rank.headbuilder.%uuid of arg 1%} to false
- message "&b&l!! &7%arg 1%'s rank has been set to &d[HELPER]&7."
- message "&b&l!! &7Your rank has been set to &d[HELPER]&7." to arg 1
- if arg 2 is "moderator":
- set {rank.helper.%uuid of arg 1%} to false
- set {rank.moderator.%uuid of arg 1%} to true
- set {rank.admin.%uuid of arg 1%} to false
- set {rank.developer.%uuid of arg 1%} to false
- set {rank.owner.%uuid of arg 1%} to false
- set {rank.default.%uuid of arg 1%} to false
- set {rank.builder.%uuid of arg 1%} to false
- set {rank.headbuilder.%uuid of arg 1%} to false
- message "&b&l!! &7%arg 1%'s rank has been set to &9[MODERATOR]&7."
- message "&b&l!! &7Your rank has been set to &9[MODERATOR]&7." to arg 1
- if arg 2 is "admin":
- set {rank.helper.%uuid of arg 1%} to false
- set {rank.moderator.%uuid of arg 1%} to false
- set {rank.admin.%uuid of arg 1%} to true
- set {rank.developer.%uuid of arg 1%} to false
- set {rank.owner.%uuid of arg 1%} to false
- set {rank.default.%uuid of arg 1%} to false
- set {rank.builder.%uuid of arg 1%} to false
- set {rank.headbuilder.%uuid of arg 1%} to false
- message "&b&l!! &7%arg 1%'s rank has been set to &c[ADMIN]&7."
- message "&b&l!! &7Your rank has been set to &c[ADMIN]&7." to arg 1
- if arg 2 is "developer":
- set {rank.helper.%uuid of arg 1%} to false
- set {rank.moderator.%uuid of arg 1%} to false
- set {rank.admin.%uuid of arg 1%} to false
- set {rank.developer.%uuid of arg 1%} to true
- set {rank.owner.%uuid of arg 1%} to false
- set {rank.default.%uuid of arg 1%} to false
- set {rank.builder.%uuid of arg 1%} to false
- set {rank.headbuilder.%uuid of arg 1%} to false
- message "&b&l!! &7%arg 1%'s rank has been set to &3[DEVELOPER]&7."
- message "&b&l!! &7Your rank has been set to &3[DEVELOPER]&7." to arg 1
- if arg 2 is "owner":
- set {rank.helper.%uuid of arg 1%} to false
- set {rank.moderator.%uuid of arg 1%} to false
- set {rank.admin.%uuid of arg 1%} to false
- set {rank.developer.%uuid of arg 1%} to false
- set {rank.owner.%uuid of arg 1%} to true
- set {rank.default.%uuid of arg 1%} to false
- set {rank.builder.%uuid of arg 1%} to false
- set {rank.headbuilder.%uuid of arg 1%} to false
- message "&b&l!! &7%arg 1%'s rank has been set to &a[OWNER]&7."
- message "&b&l!! &7Your rank has been set to &a[OWNER]&7." to arg 1
- if arg 2 is "member":
- set {rank.helper.%uuid of arg 1%} to false
- set {rank.moderator.%uuid of arg 1%} to false
- set {rank.admin.%uuid of arg 1%} to false
- set {rank.developer.%uuid of arg 1%} to false
- set {rank.owner.%uuid of arg 1%} to false
- set {rank.default.%uuid of arg 1%} to true
- set {rank.builder.%uuid of arg 1%} to false
- set {rank.headbuilder.%uuid of arg 1%} to false
- message "&b&l!! &7%arg 1%'s rank has been set to &8[MEMBER]&7."
- message "&b&l!! &7Your rank has been set to &8[MEMBER]&7." to arg 1
- if arg 2 is "builder":
- set {rank.helper.%uuid of arg 1%} to false
- set {rank.moderator.%uuid of arg 1%} to false
- set {rank.admin.%uuid of arg 1%} to false
- set {rank.developer.%uuid of arg 1%} to false
- set {rank.owner.%uuid of arg 1%} to false
- set {rank.default.%uuid of arg 1%} to false
- set {rank.builder.%uuid of arg 1%} to true
- set {rank.headbuilder.%uuid of arg 1%} to false
- message "&b&l!! &7%arg 1%'s rank has been set to &b[BUILDER]&7."
- message "&b&l!! &7Your rank has been set to &b[BUILDER]&7." to arg 1
- if arg 2 is "headbuilder":
- set {rank.helper.%uuid of arg 1%} to false
- set {rank.moderator.%uuid of arg 1%} to false
- set {rank.admin.%uuid of arg 1%} to false
- set {rank.developer.%uuid of arg 1%} to false
- set {rank.owner.%uuid of arg 1%} to false
- set {rank.default.%uuid of arg 1%} to false
- set {rank.builder.%uuid of arg 1%} to false
- set {rank.headbuilder.%uuid of arg 1%} to true
- message "&b&l!! &7%arg 1%'s rank has been set to &b[HEADBUILDER]&7."
- message "&b&l!! &7Your rank has been set to &b[HEADBUILDER]&7." to arg 1
- on chat:
- if {rank.helper.%uuid of player%} is true:
- cancel event
- broadcast "&d[HELPER] &f%player% &f&l» &f%message%"
- if {rank.moderator.%uuid of player%} is true:
- cancel event
- broadcast "&9[MODERATOR] &f%player% &7&l» &f%message%"
- if {rank.admin.%uuid of player%} is true:
- cancel event
- broadcast "&c[ADMIN] &f%player% &7&l» &f%message%"
- if {rank.developer.%uuid of player%} is true:
- cancel event
- broadcast "&3[DEVELOPER] &f%player% &7&l» &f%message%"
- if {rank.owner.%uuid of player%} is true:
- cancel event
- broadcast "&a[OWNER] &f%player% &7&l» &f%message%"
- if {rank.builder.%uuid of player%} is true:
- cancel event
- broadcast "&b[BUILDER] &f%player% &7&l» &f%message%"
- if {rank.headbuilder.%uuid of player%} is true:
- cancel event
- broadcast "&b[HEADBUILDER] &f%player% &7&l» &f%message%"
- if {rank.default.%uuid of player%} is true:
- cancel event
- broadcast "&8[MEMBER] &f%player% &7&l» &f%message%"
Advertisement
Add Comment
Please, Sign In to add comment