Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /giveplot <offline player> <money=0>:
- description: Gives ownership of the plot you are standing in to the specified player
- usage: /giveplot <username> [price]
- permission: griefprevention.giveplot
- executable by: players
- trigger:
- arg 1's balance is less than arg 2
- send "<red>The player doesn't have enough money!" to the player
- arg 1 is online
- send "You don't have enough money! The plot costs %arg 2%."
- stop
- player doesn't have the permission "griefprevention.adminclaims"
- execute console command "/manuaddp %player% griefprevention.adminclaims"
- set {_noperms} to true
- execute player command "/trust %arg 1%"
- execute player command "/permissiontrust %arg 1%"
- remove arg 2 from arg 1's balance
- {_noperms} = true
- execute console command "/manudelp %player% griefprevention.adminclaims"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement