Installation
Download the ProtectionStonesMenu-<version>.jar file.
Place it inside your server's
/pluginsfolder.Make sure you have ProtectionStones installed
Restart the server.
All configuration files will be automatically generated.
Default files
config.yml
config:
banModule: true # enable ban module?
kickModule: true # enable kick module
openOnClickBlock: true # open the menu wen player right-click the ProtectionStone Block
openPSCommands: true # open the menus with /ps command?
# if this option is enabled, player need the permision protectionstones.<feature> to work, example, protectionstones.home
# and for others features, you can add, permission: "example.permission" for allow player to use the feature
usePermissions: true
command:
name: "psmenu"
permission: "psmenu.admin"
aliases: []
guis:
main:
title: "&7ProtectionStones Home Menu"
rows: 4
ps-homes:
id: COMPASS
name: "&fSee all your &aProtectionStones"
lore:
- "&7"
- "&8» &7Click to see all your &aProtectionStones&7!"
slot: 11
# This item is used to show information about the ProtectionStone the player is currently in
ps-info:
id: BOOK
name: " &8[&7 Current &aProtectionStones &7info &8]"
lore:
- "&7"
- "&8&l| &7Name: &b%name%"
- "&8&l| &7World: &a%world%"
- "&8&l| &7Location: &aX:&f%x% &aY:&f%y% &aZ:&f%z%"
- "&8&l| &7Owners: &c%owners%"
- "&8&l| &7Members: &b%members%"
- "&7"
- "&8» &7Click to edit!"
slot: 15
# This item is shown when the player is not in a ProtectionStone
ps-info2:
id: BARRIER
name: "&c¡You are not in a &aProtectionStone&c!"
slot: 15
custom:
close:
id: BARRIER
slot: 31
name: " &8[&c Close &8]"
lore:
- "&7"
- "&8» &7Click to close menu!"
action: CLOSE_MENU
homes:
title: "&7ProtectionStones Homes Menu"
rows: 6
# This item is used to show all ProtectionStones of the player
ps-item:
id: "COMPASS"
name: " &8[ &fHome &a%name% &8]"
lore:
- "&7"
- "&8&l| &7Owners: &c%owners%"
- "&8&l| &7Members: &b%members%"
- "&8&l| &7World: &a%world%"
- "&8&l| &7Location: &aX:&f%x% &aY:&f%y% &aZ:&f%z%"
- ""
- "&8» &7Click to teleport!"
- "&8» &7R-Click to manage!"
slots:
- 10-16
- 19-25
- 28-34
- 37-43
custom:
glass:
id: BLACK_STAINED_GLASS_PANE
slots:
- 0-9
- 17-18
- 26-27
- 35-36
- 44-53
name: ""
lore: []
action: NONE
close:
id: ARROW
slot: 49
name: " &8[&c Back &8]"
lore:
- "&7"
- "&8» &7Click to back!"
action: OPEN_MENU
menu: main
edit:
title: "&7ProtectionStone Edit Menu"
rows: 6
# This item is used to rename the ProtectionStone
ps-rename:
id: NAME_TAG
name: " &8[&f Rename &aProtectionStone &8]"
lore:
- "&7"
- "&8&l| &7Current Name: &b%name%"
- "&7"
- "&8» &7Click to rename your &aProtectionStone&7!"
slot: 20
# This item is used to edit the flags of the ProtectionStone
ps-flags:
id: OAK_SIGN
name: " &8[&f Edit &aProtectionStone &fflags &8]"
lore:
- "&7"
- "&8» &7Click to edit your &aProtectionStone &fflags&7!"
slot: 21
# This item is used to manage the owners of the ProtectionStone
ps-owners:
id: PLAYER_HEAD
url: "eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvYjg4NjdjMWM1ODI2Yjk5NDcwOTUzYWM4OTA4MDI4ZWM4OWI1YzZjMTRkMWJkOGI1ZDM2NmM2ZWFiODhjZmUwYSJ9fX0="
name: " &8[&f Manage &aProtectionStone &fowners &8]"
lore:
- "&7"
- "&8&l| &7Owners: &c%owners%"
- "&7"
- "&8» &7Click to manage your &aProtectionStone &fowners&7!"
slot: 22
# This item is used to manage the members of the ProtectionStone
ps-members:
id: PLAYER_HEAD
name: " &8[&f Manage &aProtectionStone &fmembers &8]"
lore:
- "&7"
- "&8&l| &7Members: &b%members%"
- "&7"
- "&8» &7Click to manage your &aProtectionStone &fmembers&7!"
slot: 23
# This item is used to toggle the visibility of the ProtectionStone
ps-hide-on:
id: LIME_DYE
name: " &8[&c Disable &aProtectionStone &fvisibility &8]"
lore:
- "&7"
- "&8» &7Click to toggle your &aProtectionStone &fvisibility&7!"
slot: 24
# This item is used to toggle the visibility of the ProtectionStone
ps-hide-off:
id: RED_DYE
name: " &8[&a Enable &aProtectionStone &fvisibility &8]"
lore:
- "&7"
- "&8» &7Click to toggle your &aProtectionStone &fvisibility&7!"
slot: 24
# This item is used to open the ban menu if the ban module is enabled in the config.yml
ps-ban:
id: PLAYER_HEAD
url: "eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNGY0NzJhZDgwMWUzM2U5ZmJmNTQyMmZiOTBhYTM1NjAyODc1MTE4YzEyOWFmZWFkZWM1ZmE2ODdjODhmODI4OSJ9fX0="
name: " &8[&c Ban &aPlayers &8]"
lore:
- "&7"
- "&8&l| &7Banned Players: &4%banned%"
- "&7"
- "&8» &7Click to ban players from your &aProtectionStone&7!"
slot: 31
custom:
glass:
id: BLACK_STAINED_GLASS_PANE
slots:
- 0-9
- 17-18
- 26-27
- 35-36
- 44-53
name: ""
lore: []
action: NONE
info:
id: BOOK
name: " &8[&7 &aProtectionStones &7info &8]"
lore:
- "&7"
- "&8&l| &7World: &a%world%"
- "&8&l| &7Location: &aX:&f%x% &aY:&f%y% &aZ:&f%z%"
- "&8&l| &7Owners: &c%owners%"
- "&8&l| &7Members: &b%members%"
- "&8&l| &7Banned Players: &4%banned%"
- "&7"
slot: 4
acton: NONE
close:
id: ARROW
slot: 49
name: " &8[ &cBack &8]"
lore:
- "&7"
- "&8» &7Click to back!"
action: OPEN_MENU
menu: homes
edit-flags:
title: "&7ProtectionStone Flags Menu"
rows: 6
# These items are used to toggle the flags of the ProtectionStone
flags:
flag-pvp:
enabled: true
id: IRON_SWORD
name: " &8[&c PvP &8]"
lore:
- "&7&o(Toggles pvp inside the ProtectionStone)"
- "&7"
- "&8&l| &7Current Value: &b%value%"
- "&8&l| &7Applied to: &b%group%"
- "&7"
- "&8» &7Click to toggle PvP flag!"
- "&8» &7Right-Click to change group!"
slot: 20
flag-mob-damage:
enabled: true
id: ZOMBIE_HEAD
name: " &8[&9 Mob Damage &8]"
lore:
- "&7&o(Toggles mob damage inside the ProtectionStone)"
- "&7"
- "&8&l| &7Current Value: &b%value%"
- "&8&l| &7Applied to: &b%group%"
- "&7"
- "&8» &7Click to toggle Mob Damage flag!"
- "&8» &7Right-Click to change group!"
slot: 21
flag-mob-spawning:
enabled: true
id: SPAWNER
name: " &8[&2 Mob Spawning &8]"
lore:
- "&7&o(Toggles mob spawning inside the ProtectionStone)"
- "&7"
- "&8&l| &7Current Value: &b%value%"
- "&8&l| &7Applied to: &b%group%"
- "&7"
- "&8» &7Click to toggle Mob Spawning flag!"
- "&8» &7Right-Click to change group!"
slot: 22
flag-creeper-explosion:
enable: true
id: CREEPER_HEAD
name: " &8[&a Creeper Explosions &8]"
lore:
- "&7&o(Toggles creeper explosions inside the ProtectionStone)"
- "&7"
- "&8&l| &7Current Value: &b%value%"
- "&8&l| &7Applied to: &b%group%"
- "&7"
- "&8» &7Click to toggle Explosions flag!"
- "&8» &7Right-Click to change group!"
slot: 23
flag-lighter:
enable: true
id: FLINT_AND_STEEL
name: " &8[&5 Lighter &8]"
lore:
- "&7&o(Toggles lighter inside the ProtectionStone)"
- "&7"
- "&8&l| &7Current Value: &b%value%"
- "&8&l| &7Applied to: &b%group%"
- "&7"
- "&8» &7Click to toggle Wither Damage flag!"
- "&8» &7Right-Click to change group!"
slot: 24
flag-build:
enable: true
id: DIAMOND_SHOVEL
name: " &8[&6 Build &8]"
slot: 29
lore:
- "&7&o(Toggles build inside the ProtectionStone)"
- "&7"
- "&8&l| &7Current Value: &b%value%"
- "&8&l| &7Applied to: &b%group%"
- "&7"
- "&8» &7Click to toggle Build flag!"
- "&8» &7Right-Click to change group!"
flag-use:
enable: true
id: IRON_AXE
name: " &8[&6 Use &8]"
slot: 30
lore:
- "&7&o(Toggles use doors, buttons, etc. inside the ProtectionStone)"
- "&7"
- "&8&l| &7Current Value: &b%value%"
- "&8&l| &7Applied to: &b%group%"
- "&7"
- "&8» &7Click to toggle Use flag!"
- "&8» &7Right-Click to change group!"
flag-ghast-fireball:
enable: true
id: FIRE_CHARGE
name: " &8[&6 Ghast Fireball &8]"
lore:
- "&7&o(Toggles ghast fireball damage inside the ProtectionStone)"
- "&7"
- "&8&l| &7Current Value: &b%value%"
- "&8&l| &7Applied to: &b%group%"
- "&7"
- "&8» &7Click to toggle Ghast Fireball flag!"
- "&8» &7Right-Click to change group!"
slot: 31
flag-damage-animals:
enable: true
id: DIAMOND_SWORD
name: " &8[&6 Damage Animals &8]"
slot: 32
lore:
- "&7&o(Toggles damage animals inside the ProtectionStone)"
- "&7"
- "&8&l| &7Current Value: &b%value%"
- "&8&l| &7Applied to: &b%group%"
- "&7"
- "&8» &7Click to toggle Damage Animals flag!"
- "&8» &7Right-Click to change group!"
flag-chest-access:
enable: true
id: CHEST
name: " &8[&6 Chess Access &8]"
slot: 33
lore:
- "&7&o(Toggles chess access inside the ProtectionStone)"
- "&7"
- "&8&l| &7Current Value: &b%value%"
- "&8&l| &7Applied to: &b%group%"
- "&7"
- "&8» &7Click to toggle Chess Access flag!"
- "&8» &7Right-Click to change group!"
flag-tnt:
enable: true
id: TNT
name: " &8[&6 TNT &8]"
slot: 40
lore:
- "&7&o(Toggles tnt inside the ProtectionStone)"
- "&7"
- "&8&l| &7Current Value: &b%value%"
- "&8&l| &7Applied to: &b%group%"
- "&7"
- "&8» &7Click to toggle TNT flag!"
- "&8» &7Right-Click to change group!"
custom:
glass:
id: BLACK_STAINED_GLASS_PANE
slots:
- 0-9
- 17-18
- 26-27
- 35-36
- 44-53
name: ""
lore: []
action: NONE
info:
id: BOOK
name: " &8[&7 &aProtectionStones &7info &8]"
lore:
- "&7"
- "&8&l| &7Name: &b%name%"
- "&8&l| &7World: &a%world%"
- "&8&l| &7Location: &aX:&f%x% &aY:&f%y% &aZ:&f%z%"
- "&8&l| &7Owners: &c%owners%"
- "&8&l| &7Members: &b%members%"
- "&7"
slot: 4
acton: NONE
close:
id: ARROW
slot: 49
name: " &8[ &cBack &8]"
lore:
- "&7"
- "&8» &7Click to back!"
action: OPEN_MENU
menu: edit
edit-owners:
title: "&7ProtectionStone Owners Menu"
rows: 6
# This item is used to show all owners of the ProtectionStone
owners:
id: PLAYER_HEAD
url: player
name: " &8[&c Owner &a%player% &8]"
lore:
- "&7"
- "&8&l| &7Click to edit &c%player% &7!"
- "&7"
slots:
- 10-16
- 19-25
- 28-34
- 37-43
# This item is used to add a new owner to the ProtectionStone
add-owner:
id: PLAYER_HEAD
url: "eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMTc3YmI2NmZjNzNhOTdjZWZjYjNhNGJmZGNjYjEyMjgxZjQ0ZGQzMjZjY2QwZmYzOWQ0N2U5ODViZmVmZjM0MyJ9fX0="
slot: 50
name: " &8[&a Add Owner &8]"
lore:
- "&7"
- "&8» &7Click to add a new owner!"
custom:
glass:
id: BLACK_STAINED_GLASS_PANE
slots:
- 0-9
- 17-18
- 26-27
- 35-36
- 44-49
- 51-53
name: ""
lore: []
action: NONE
close:
id: ARROW
slot: 49
name: " &8[&c Back &8]"
lore:
- "&7"
- "&8» &7Click to back!"
action: OPEN_MENU
menu: edit
edit-members:
title: "&7ProtectionStone Members Menu"
rows: 6
# This item is used to show all members of the ProtectionStone
members:
id: PLAYER_HEAD
url: player
name: " &8[&b Member &a%player% &8]"
lore:
- "&7"
- "&8&l| &7Click to edit &b%player% &7!"
- "&7"
slots:
- 10-16
- 19-25
- 28-34
- 37-43
# This item is used to add a new member to the ProtectionStone
add-member:
id: PLAYER_HEAD
url: "eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMTc3YmI2NmZjNzNhOTdjZWZjYjNhNGJmZGNjYjEyMjgxZjQ0ZGQzMjZjY2QwZmYzOWQ0N2U5ODViZmVmZjM0MyJ9fX0="
slot: 50
name: " &8[&a Add Member &8]"
lore:
- "&7"
- "&8» &7Click to add a new member!"
custom:
glass:
id: BLACK_STAINED_GLASS_PANE
slots:
- 0-9
- 17-18
- 26-27
- 35-36
- 44-49
- 51-53
name: ""
lore: []
action: NONE
close:
id: ARROW
slot: 49
name: " &8[&c Back &8]"
lore:
- "&7"
- "&8» &7Click to back!"
action: OPEN_MENU
menu: edit
ban:
title: "&7ProtectionStone Ban Menu"
rows: 6
# This item is used to show all banned players from the ProtectionStone
banned-players:
id: PLAYER_HEAD
url: player
name: " &8[&c Banned &a%player% &8]"
lore:
- "&7"
- "&8&l| &7Click to edit &c%player% &7!"
- "&7"
slots:
- 10-16
- 19-25
- 28-34
- 37-43
# This item is used to ban a new player from the ProtectionStone
add-ban:
id: PLAYER_HEAD
url: "eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMTc3YmI2NmZjNzNhOTdjZWZjYjNhNGJmZGNjYjEyMjgxZjQ0ZGQzMjZjY2QwZmYzOWQ0N2U5ODViZmVmZjM0MyJ9fX0="
slot: 50
name: " &8[&a Ban Player &8]"
lore:
- "&7"
- "&8» &7Click to ban a new player!"
custom:
glass:
id: BLACK_STAINED_GLASS_PANE
slots:
- 0-9
- 17-18
- 26-27
- 35-36
- 44-49
- 51-53
name: ""
lore: []
action: NONE
close:
id: ARROW
slot: 49
name: " &8[&c Back &8]"
lore:
- "&7"
- "&8» &7Click to back!"
action: OPEN_MENU
menu: edit
edit-player:
title: "&7Edit &a%player% &7Menu"
rows: 6
# This item is used to ban a player from the ProtectionStone
ban:
id: BARRIER
name: " &8[&c Ban &a%player% &8]"
lore:
- "&7"
- "&8» &7Click to ban &a%player% &7!"
slot: 20
# This item is used to kick a player from the ProtectionStone (removes them from members)
kick:
id: WRITABLE_BOOK
name: " &8[&c Kick &a%player% &8]"
lore:
- "&7"
- "&8» &7Click to kick &a%player% &7!"
slot: 21
# This item is used to remove a player from the ProtectionStone (removes them from owners or members)
remove:
id: PLAYER_HEAD
url: "eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMTRjNDhhNjYxYTUyNGIwMTQyN2ZkMWMzNGFlMDcwNzZjNTcwYTA3MTFmMGFiNzAzNzM3NTAxYWYzNzIzMTYzMSJ9fX0="
name: " &8[&c Remove &a%player% &8]"
lore:
- "&7"
- "&8» &7Click to remove &a%player% &7!"
slot: 22
# This will show in the edit-members to promote a player to owner
owner:
id: PLAYER_HEAD
url: "eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvYjg4NjdjMWM1ODI2Yjk5NDcwOTUzYWM4OTA4MDI4ZWM4OWI1YzZjMTRkMWJkOGI1ZDM2NmM2ZWFiODhjZmUwYSJ9fX0="
name: " &8[&c Make &a%player% &cOwner &8]"
lore:
- "&7"
- "&8» &7Click to make &a%player% &can owner&7!"
slot: 23
# This will show in the edit-owner to demote a player to member
member:
id: PLAYER_HEAD
name: " &8[&c Make &a%player% &cMember &8]"
lore:
- "&7"
- "&8» &7Click to make &a%player% &ca member&7!"
slot: 24
custom:
glass:
id: BLACK_STAINED_GLASS_PANE
slots:
- 0-9
- 17-18
- 26-27
- 35-36
- 44-53
name: ""
lore: []
action: NONE
info:
id: BOOK
name: " &8[&7 &aProtectionStones &7info &8]"
lore:
- "&7"
- "&8&l| &7Name: &b%name%"
- "&8&l| &7World: &a%world%"
- "&8&l| &7Location: &aX:&f%x% &aY:&f%y% &aZ:&f%z%"
- "&8&l| &7Owners: &c%owners%"
- "&8&l| &7Members: &b%members%"
- "&7"
slot: 4
acton: NONE
close:
id: ARROW
slot: 49
name: " &8[ &cBack &8]"
lore:
- "&7"
- "&8» &7Click to back!"
action: OPEN_MENU
menu: edit
messages.yml
messages:
# Prefix for all messages
prefix: "&8[&bPS Menu&8] » "
reload: "&aPlugin reloaded"
# General no permission message
no-permission: "&cYou don't have permission"
# General player only command message
player-only: "&cOnly players can execute this command"
# player not found message
player-not-found: "&cPlayer not found"
not-in-region: "&cYou are not in a ProtectionStone region!"
# kick messages
kicked-success: "&aYou have successfully kicked &f%player% &afrom your ProtectionStone!"
kick-self: "&cYou cannot kick yourself!"
kick-message: "&cYou have been kicked from the ProtectionStone by &f%player%&c!"
# Edit menu messages
edit-menu:
# rename messages
rename-success: "&aYou have successfully renamed your ProtectionStone to &f%name%&a!"
rename-cancel: "&cYou have cancelled the renaming of your ProtectionStone!"
rename-prompt: "&ePlease enter the new name for your ProtectionStone: (Type: cancel to cancel renaming)"
# flags messages
flag-updated: "&aThe value of &e%flag% &ahas been updated to &f%value% &afor %group%&a!"
flag-allow: "&aAllow"
flag-deny: "&cDeny"
flag-none: "&7Non Set"
flag-groups:
all: "&eEveryone"
members: "&aMembers"
owners: "&cOwners"
nonmembers: "&2Non-Members"
nonowners: "&4Non-Owners"
# owners messages
owner-add-success: "&aYou have successfully added &f%player% &ato the owners of your ProtectionStone!"
owner-remove-success: "&aYou have successfully removed &f%player% &afrom the owners of your ProtectionStone!"
owner-already: "&c%player% is already an owner of your ProtectionStone!"
owner-not: "&c%player% is not an owner of your ProtectionStone!"
owner-prompt: "&ePlease enter the name of the player you want to add as an owner:"
# members messages
member-add-success: "&aYou have successfully added &f%player% &ato the members of your ProtectionStone!"
member-remove-success: "&aYou have successfully removed &f%player% &afrom the members of your ProtectionStone!"
member-already: "&c%player% is already a member of your ProtectionStone!"
member-not: "&c%player% is not a member of your ProtectionStone!"
member-prompt: "&ePlease enter the name of the player you want to add as a member:"
# visibility messages
visibility-on: "&aYou have enabled the visibility of your ProtectionStone!"
visibility-off: "&cYou have disabled the visibility of your ProtectionStone!"
# ban messages
ban-add-success: "&aYou have successfully banned &f%player% &afrom your ProtectionStone!"
ban-remove-success: "&aYou have successfully unbanned &f%player% &afrom your ProtectionStone!"
ban-already: "&c%player% is already banned from your ProtectionStone!"
ban-not: "&c%player% is not banned from your ProtectionStone!"
ban-prompt: "&ePlease enter the name of the player you want to ban:"
banned-message: "&cYou are banned from this ProtectionStone!"
ban-module-disabled: "&cThe ban module is disabled!"
ban-list-header: "&7Banned players:"
ban-list-empty: "&7No players are banned from this ProtectionStone."
ban-list-entry: "&8- &f%player%"
ban-self: "&cYou cannot ban yourself!"
# player editing messages
player-self: "&cYou cannot edit yourself!"
player-promoted-success: "&aYou have successfully promoted &f%player% &ato an owner of your ProtectionStone!"
player-demoted-success: "&aYou have successfully demoted &f%player% &ato a member of your ProtectionStone!"
Dependencies
ProtectionStones (Required)
Last updated