Code (YAML):
#
# _____ _ _____ _
# | __ \ | | | __ \ | |
# | | | | __ _ _ __| | _| |__) |_ _ _ __| |_ _ _
# | | | |/ _` | '__| |/ / ___/ _` | '__| __| | | |
# | |__| | (_| | | | <| | | (_| | | | |_| |_| |
# |_____/ \__,_|_| |_|\_\_| \__,_|_| \__|\__, |
# __/ |
# |___/
#
# The DarkParty plugin was developed entirely by AhmetKrdman.
# This is the language file for the plugin. Make sure the file name is correct!
# Pay attention to uppercase and lowercase letters!
language
:
"lang-en.yml"
update-check
: true
date-format
:
"dd/MM/yyyy-HH:mm:ss"
#================================================================================#
# Command Settings
#================================================================================#
commands:
create:
enabled
: true
command
:
"create"
disband:
enabled
: true
command
:
"disband"
kick:
enabled
: true
command
:
"kick"
teleport:
enabled
: true
command
:
"teleport"
pvp:
enabled
: true
command
:
"pvp"
invite:
enabled
: true
command
:
"invite"
accept:
enabled
: true
command
:
"accept"
decline:
enabled
: true
command
:
"decline"
leave:
enabled
: true
command
:
"leave"
ptp:
enabled
: true
ptc:
enabled
: true
#================================================================================#
# Party Settings
#================================================================================#
parties
:
# How many members can a party have by default?
# Customization permission: darkparty.member-limit.<amount>
default-member-limit
: 5
# What should be the friendly fire status in party creation?
default-friendly-fire
: true
# How many seconds does it take for party invites to expire?
# SPECIFY IN SECONDS
invite-timeout
: 60
# When the leader leaves the server or tries to leave the party, should the party be automatically transferred to someone else?
# If you set it to false, the party will be disbanded when the leader leaves the server.
# and must transfer in order to leave the party.
auto-transfer-when-leader-leave
: true
# It is the format of party chat.
chat-format
:
"&6Party &e{player} &f: {message}"
# These are the settings for the teleport command.
teleport
:
# This is the time they have to wait to teleport.
# Bypass Permission: darkparty.teleport.bypass
delay
: 3
# Cancel teleportation when moving during teleportation?
on-move-cancel
: true
# The sound that will be played to the player after teleporting.
# Sound List: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Sound.html
sound
:
"ENTITY_ENDERMAN_TELEPORT"
volume
: 1.0
pitch
: 1.0
# Should data about parties created by players be saved?
# If you do not save, the party data will be deleted when the server and plugin are restarted.
save-party-data
: true
# If data is to be recorded, how often should it be recorded in seconds?
# SPECIFY IN SECONDS
auto-save-time
: 600
# 600 Second = 10 Minute
#================================================================================#
# Database Settings
#================================================================================#
database
:
# The type in which the data will be recorded. mysql or sqlite
type
: sqlite
table-name
:
"DarkParty_Parties"
sqlite:
file-name
:
"database.db"
mysql:
host
:
"0.0.0.0"
port
: 3306
database
:
""
username
:
""
password
:
""
#================================================================================#
# GUI Settings
#================================================================================#
main-gui:
title
:
"&8Party"
rows
: 6
click-sound:
sound
:
"UI_BUTTON_CLICK"
volume
: 1.0
pitch
: 2.0
filler-item:
enabled
: true
material
: BLACK_STAINED_GLASS_PANE
slots
:
[0,1,2,6,7,8,9,17,18,26,27,35,36,44,46,47,48,49,50,51,52
]
informations:
material
: PAINTING
name
:
"&eParty Informations"
slot
: 4
lore
:
-
""
- "&f• &7Creation Date
:
&a{created-date}"
- "&f• &7Member Amount
:
&a{member-size}"
- "&f• &7Active Invitations
:
&a{active-invitation}"
change-chat:
material
: OAK_SIGN
name
:
"&eChat"
slot
: 3
lore
:
-
""
-
"&7Click to change the status "
-
"&7of the party chat!"
-
""
- "&fStatus
:
{status
}
"
change-pvp:
material: STONE_SWORD
name: "&eFriendly Fire
"
slot: 5
lore:
- "
"
- "&7Turn friendly fire on or
"
- "&7off for players in your party!
"
- "
"
- "&fStatus
:
{status
}
"
members:
material: PLAYER_HEAD
name: "&e
{member-name
}
"
slots: [10,11,12,13,14,15,16,19,20,21,22,23,24,25,28,29,30,31,32,33,34,36,37,38,39,40,41,42,43]
lore:
- "
"
- "&f• &7Rank
:
{rank
}
"
- "&f• &7Status
:
{status
}
"
- "&f• &7Joined Date
:
&a{joined-date}"
-
""
-
"&eLeft click to teleport."
leader-lore
:
-
""
- "&f• &7Rank
:
{rank
}
"
- "&f• &7Status
:
{status
}
"
- "&f• &7Joined Date
:
&a{joined-date}"
-
""
-
"&eLeft click to teleport."
-
"&eShift+Right click to kick."
previous-page:
material
: ARROW
name
:
"&ePrevious Page"
slot
: 45
lore
:
-
"&7Click for previous page!"
next-page:
material
: ARROW
name
:
"&eNext Page"
slot
: 53
lore
:
-
"&7Click for next page!"