Implemented SavageFactions Warp and Perms system as requested. - Credits SavageLif3 & ProSavage
This commit is contained in:
@@ -415,7 +415,6 @@ fperm-gui:
|
||||
name: 'Faction Permissions'
|
||||
# Amount of inventory rows, No larger than 5
|
||||
rows: 4
|
||||
|
||||
# These are the slots where the relations are going to be placed on the first GUI
|
||||
# Note: Slots start at 0 and end at one less that GUI size
|
||||
#Setting a slot to -1 will disable it
|
||||
@@ -438,56 +437,43 @@ fperm-gui:
|
||||
ally: GOLD_AXE
|
||||
enemy: DIAMOND_AXE
|
||||
neutral: WOOD_AXE
|
||||
# Dummy items using the Items lower down
|
||||
dummy-items:
|
||||
'0':
|
||||
- 0
|
||||
- 1
|
||||
- 2
|
||||
- 3
|
||||
- 4
|
||||
- 5
|
||||
- 6
|
||||
- 7
|
||||
- 8
|
||||
- 9
|
||||
- 11
|
||||
- 13
|
||||
- 15
|
||||
- 17
|
||||
- 20
|
||||
- 22
|
||||
- 24
|
||||
- 26
|
||||
- 17
|
||||
- 18
|
||||
- 19
|
||||
- 26
|
||||
- 27
|
||||
- 28
|
||||
- 29
|
||||
- 30
|
||||
- 31
|
||||
- 32
|
||||
- 33
|
||||
- 34
|
||||
- 35
|
||||
# This is the item that all relation items are based off of
|
||||
# Replacing {relation} with relation name eg: Moderator, Ally
|
||||
# also replaces {relation-color} with relation color eg: Enemy;RED
|
||||
placeholder-item:
|
||||
name: '&8[{relation-color}{relation}&8]'
|
||||
lore:
|
||||
-
|
||||
Placeholder-Item:
|
||||
Name: '&cClick to edit {relation} permissions!'
|
||||
action:
|
||||
name: 'Faction Permissions'
|
||||
rows: 6
|
||||
# If this field exists colorable materials will be updated
|
||||
# https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/DyeColor.html
|
||||
access:
|
||||
allow: LIME
|
||||
deny: RED
|
||||
undefined: CYAN
|
||||
Access-Colors:
|
||||
Allow: '&a'
|
||||
Deny: '&c'
|
||||
Undefined: '&7'
|
||||
Materials:
|
||||
build: COBBLESTONE
|
||||
destroy: DIAMOND_PICKAXE
|
||||
frostwalk: ICE
|
||||
painbuild: ARROW
|
||||
door: IRON_DOOR
|
||||
button: OAK_BUTTON
|
||||
lever: LEVER
|
||||
container: CHEST
|
||||
invite: NETHER_STAR
|
||||
kick: DIAMOND_SWORD
|
||||
items: PAPER
|
||||
sethome: HOPPER
|
||||
withdraw: SUNFLOWER
|
||||
territory: SIGN
|
||||
access: EMERALD
|
||||
promote: DIAMOND
|
||||
setwarp: COMPASS
|
||||
warp: ENDER_PEARL
|
||||
ban: ANVIL
|
||||
disband: BARRIER
|
||||
fly: FEATHER
|
||||
vault: END_PORTAL_FRAME
|
||||
tntbank: BEACON
|
||||
tntfill: TNT
|
||||
chest: ENDER_CHEST
|
||||
spawner: MOB_SPAWNER
|
||||
home: ENDER_EYE
|
||||
slots:
|
||||
# Uses same format as above to inform the player of clicked relation
|
||||
relation: 4
|
||||
@@ -496,15 +482,15 @@ fperm-gui:
|
||||
# Start action slots
|
||||
build: 10
|
||||
destroy: 11
|
||||
frost-walk: 12
|
||||
pain-build: 13
|
||||
frostwalk: 12
|
||||
painbuild: 13
|
||||
door: 14
|
||||
button: 15
|
||||
lever: 16
|
||||
container: 19
|
||||
invite: 20
|
||||
kick: 21
|
||||
item: 22
|
||||
items: 22
|
||||
sethome: 23
|
||||
withdraw: 24
|
||||
territory: 25
|
||||
@@ -521,90 +507,6 @@ fperm-gui:
|
||||
chest: 42
|
||||
spawner: 38
|
||||
home: 49
|
||||
# Material to show, if the material is colorable eg: Wool, Stained Clay it will update with it's access color
|
||||
materials:
|
||||
# This is important to change, depending on what you use. If you use clay, make it clay, if its glass make it glass.
|
||||
default: STAINED_GLASS
|
||||
# These below are for different actual permissions.
|
||||
build: STAINED_GLASS
|
||||
destroy: STAINED_GLASS
|
||||
frost-walk: STAINED_GLASS
|
||||
pain-build: STAINED_GLASS
|
||||
door: STAINED_GLASS
|
||||
button: STAINED_GLASS
|
||||
lever: STAINED_GLASS
|
||||
container: STAINED_GLASS
|
||||
invite: STAINED_GLASS
|
||||
kick: STAINED_GLASS
|
||||
item: STAINED_GLASS
|
||||
sethome: STAINED_GLASS
|
||||
withdraw: STAINED_GLASS
|
||||
territory: STAINED_GLASS
|
||||
access: STAINED_GLASS
|
||||
promote: STAINED_GLASS
|
||||
setwarp: STAINED_GLASS
|
||||
warp: STAINED_GLASS
|
||||
ban: STAINED_GLASS
|
||||
disband: STAINED_GLASS
|
||||
fly: STAINED_GLASS
|
||||
vault: STAINED_GLASS
|
||||
tntbank: STAINED_GLASS
|
||||
tntfill: STAINED_GLASS
|
||||
chest: STAINED_GLASS
|
||||
spawner: STAINED_GLASS
|
||||
home: STAINED_GLASS
|
||||
# Same dummy items format as above
|
||||
dummy-items:
|
||||
'0':
|
||||
- 1
|
||||
- 2
|
||||
- 3
|
||||
- 5
|
||||
- 6
|
||||
- 7
|
||||
- 8
|
||||
- 9
|
||||
- 10
|
||||
- 11
|
||||
- 12
|
||||
- 13
|
||||
- 14
|
||||
- 15
|
||||
- 16
|
||||
- 17
|
||||
- 18
|
||||
- 10
|
||||
- 20
|
||||
- 21
|
||||
- 22
|
||||
- 23
|
||||
- 24
|
||||
- 25
|
||||
- 26
|
||||
- 27
|
||||
- 28
|
||||
- 29
|
||||
- 30
|
||||
- 34
|
||||
- 35
|
||||
- 36
|
||||
- 37
|
||||
- 38
|
||||
- 39
|
||||
- 40
|
||||
- 41
|
||||
- 42
|
||||
- 43
|
||||
- 44
|
||||
- 45
|
||||
- 46
|
||||
- 47
|
||||
- 48
|
||||
- 49
|
||||
- 50
|
||||
- 51
|
||||
- 52
|
||||
- 53
|
||||
# {action} Action name eg: Setwarp, Kick
|
||||
# {action-access} Access name eg: Allow, Deny
|
||||
# {action-access-color} Access color eg: Allow;GREEN
|
||||
@@ -619,20 +521,16 @@ fperm-gui:
|
||||
- '&7Middle click to &7&nUndefine&7.'
|
||||
# Back item will be take you to the previous GUI
|
||||
back-item:
|
||||
name: '&c&l<- Back'
|
||||
material: ARROW
|
||||
Type: ARROW
|
||||
Name: '&c&l<- Back'
|
||||
lore:
|
||||
- '&7Click to return to previous menu.'
|
||||
# Dummy Items
|
||||
dummy-items:
|
||||
# Dummy Item id, used to set the slots above
|
||||
'0':
|
||||
material: STAINED_GLASS_PANE
|
||||
# Color will only work on colorable materials
|
||||
color: BLACK
|
||||
name: ' '
|
||||
lore:
|
||||
-
|
||||
dummy-item:
|
||||
Type: BLACK_STAINED_GLASS_PANE
|
||||
Name: ' '
|
||||
Lore:
|
||||
- ' '
|
||||
|
||||
############################################################
|
||||
# +------------------------------------------------------+ #
|
||||
@@ -650,53 +548,24 @@ fwarp-gui:
|
||||
- 13
|
||||
- 14
|
||||
- 15
|
||||
dummy-slots:
|
||||
'0':
|
||||
- 0
|
||||
- 1
|
||||
- 2
|
||||
- 3
|
||||
- 4
|
||||
- 5
|
||||
- 6
|
||||
- 7
|
||||
- 8
|
||||
- 9
|
||||
- 10
|
||||
- 16
|
||||
- 17
|
||||
- 18
|
||||
- 19
|
||||
- 20
|
||||
- 21
|
||||
- 22
|
||||
- 23
|
||||
- 24
|
||||
- 25
|
||||
- 26
|
||||
warp-item:
|
||||
material: EYE_OF_ENDER
|
||||
name: "&e&l(!) &eFaction Warp: &6&n{warp}"
|
||||
Type: EYE_OF_ENDER
|
||||
Name: '&e&l(!) &eFaction Warp: &6&n{warp}'
|
||||
# {warp-protected} Warp protection by password, Enabled & Disabled
|
||||
# {warp-cost} Warp cost
|
||||
lore:
|
||||
- ""
|
||||
- "&6&l * &ePassword: &7{warp-protected}"
|
||||
- "&6&l * &eCost: &7{warp-cost}"
|
||||
- ""
|
||||
- "&c&lNote: &7You need pay to teleport to"
|
||||
- "&7a faction warp. Unless it's &nDisabled&7."
|
||||
Lore:
|
||||
- ''
|
||||
- '&6&l * &ePassword: &7{warp-protected}'
|
||||
- '&6&l * &eCost: &7{warp-cost}'
|
||||
- ''
|
||||
- '&c&lNote: &7You need pay to teleport to'
|
||||
- '&7a faction warp. Unless it''s &nDisabled&7.'
|
||||
# Dummy Items
|
||||
dummy-items:
|
||||
# Dummy Item id, used to set the slots above
|
||||
'0':
|
||||
material: STAINED_GLASS_PANE
|
||||
# Color will only work on colorable materials
|
||||
color: BLACK
|
||||
name: ' '
|
||||
lore:
|
||||
-
|
||||
|
||||
dummy-item:
|
||||
Type: BLACK_STAINED_GLASS_PANE
|
||||
Name: ' '
|
||||
Lore:
|
||||
- ' '
|
||||
############################################################
|
||||
# +------------------------------------------------------+ #
|
||||
# | Faction Creation/Disband Broadcast | #
|
||||
|
||||
Reference in New Issue
Block a user