first commit
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,123 @@
|
||||
database:
|
||||
type: SQLITE # SQLITE or MYSQL
|
||||
|
||||
sqlite:
|
||||
file: guilds.db
|
||||
|
||||
mysql:
|
||||
host: localhost
|
||||
port: 3306
|
||||
database: dirtguilds
|
||||
username: root
|
||||
password: change-me
|
||||
properties: "?useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=UTC"
|
||||
|
||||
settings:
|
||||
invite-expire-seconds: 120
|
||||
default-friendly-fire: false
|
||||
max-name-length: 16
|
||||
min-name-length: 3
|
||||
|
||||
bank:
|
||||
enabled: true
|
||||
use-vault: true
|
||||
|
||||
vault:
|
||||
default-size: 9
|
||||
max-size: 54
|
||||
|
||||
levels:
|
||||
enabled: true
|
||||
default-level: 1
|
||||
levels:
|
||||
1:
|
||||
cost: 0
|
||||
vault-slots: 9
|
||||
2:
|
||||
cost: 1000
|
||||
vault-slots: 18
|
||||
3:
|
||||
cost: 5000
|
||||
vault-slots: 27
|
||||
4:
|
||||
cost: 15000
|
||||
vault-slots: 36
|
||||
5:
|
||||
cost: 50000
|
||||
vault-slots: 54
|
||||
|
||||
messages:
|
||||
prefix: "<gray>[<gold>DirtGuilds</gold>]</gray> "
|
||||
|
||||
no-permission: "<red>You do not have permission.</red>"
|
||||
players-only: "<red>Only players may use this command.</red>"
|
||||
unknown-command: "<red>Unknown subcommand.</red>"
|
||||
reload: "<green>DirtGuilds reloaded.</green>"
|
||||
prefix-updated: "<green>Guild prefix updated.</green>"
|
||||
|
||||
guild-created: "<green>Guild <yellow>%guild%</yellow> created.</green>"
|
||||
guild-deleted: "<red>Guild <yellow>%guild%</yellow> deleted.</red>"
|
||||
guild-renamed: "<green>Guild renamed to <yellow>%guild%</yellow>.</green>"
|
||||
joined-guild: "<green>You joined <yellow>%guild%</yellow>.</green>"
|
||||
left-guild: "<yellow>You left your guild.</yellow>"
|
||||
already-in-guild: "<red>You are already in a guild.</red>"
|
||||
not-in-guild: "<red>You are not in a guild.</red>"
|
||||
guild-not-found: "<red>Guild not found.</red>"
|
||||
player-not-found: "<red>Player not found.</red>"
|
||||
invite-sent: "<green>Invite sent to <yellow>%player%</yellow>.</green>"
|
||||
invite-received: "<green>You were invited to join <yellow>%guild%</yellow>. Use <white>/guild accept %guild%</white>.</green>"
|
||||
no-invite: "<red>You do not have an invite for that guild.</red>"
|
||||
member-joined: "<green><yellow>%player%</yellow> joined the guild.</green>"
|
||||
member-left: "<yellow><yellow>%player%</yellow> left the guild.</yellow>"
|
||||
invalid-name: "<red>That guild name is invalid.</red>"
|
||||
name-taken: "<red>That guild name is already taken.</red>"
|
||||
must-be-owner: "<red>You must be the guild owner.</red>"
|
||||
must-be-in-guild: "<red>You must be in a guild.</red>"
|
||||
target-already-in-guild: "<red>That player is already in a guild.</red>"
|
||||
invite-expired: "<red>That invite has expired.</red>"
|
||||
friendly-fire-enabled: "<green>Guild friendly fire enabled.</green>"
|
||||
friendly-fire-disabled: "<yellow>Guild friendly fire disabled.</yellow>"
|
||||
guild-chat-enabled: "<green>Guild chat enabled.</green>"
|
||||
guild-chat-disabled: "<yellow>Guild chat disabled.</yellow>"
|
||||
|
||||
bank-deposit: "<green>Deposited <yellow>%amount%</yellow> to guild bank.</green>"
|
||||
bank-withdraw: "<green>Withdrew <yellow>%amount%</yellow> from guild bank.</green>"
|
||||
bank-invalid-amount: "<red>Invalid amount.</red>"
|
||||
bank-insufficient-funds: "<red>Your guild bank does not have enough funds.</red>"
|
||||
bank-player-insufficient-funds: "<red>You do not have enough money.</red>"
|
||||
bank-vault-unavailable: "<red>Vault economy is not available.</red>"
|
||||
|
||||
level-upgraded: "<green>Your guild upgraded to level <yellow>%level%</yellow>.</green>"
|
||||
level-maxed: "<red>Your guild is already at max level.</red>"
|
||||
level-not-enough-money: "<red>Your guild bank does not have enough money to level up.</red>"
|
||||
|
||||
teleport-success: "<green>Teleported to <yellow>%player%</yellow>.</green>"
|
||||
teleport-offline: "<red>That member is offline.</red>"
|
||||
inventory-opened: "<green>Opened inventory of <yellow>%player%</yellow>.</green>"
|
||||
|
||||
rank-updated: "<green>Updated rank for <yellow>%player%</yellow> to <yellow>%rank%</yellow>.</green>"
|
||||
|
||||
gui:
|
||||
main:
|
||||
title: "<gold>DirtGuilds</gold>"
|
||||
size: 27
|
||||
|
||||
members:
|
||||
title: "<gold>Guild Members</gold>"
|
||||
size: 54
|
||||
|
||||
member-manage:
|
||||
title: "<gold>Manage Member</gold>"
|
||||
size: 27
|
||||
|
||||
bank:
|
||||
title: "<gold>Guild Bank</gold>"
|
||||
size: 27
|
||||
|
||||
vault:
|
||||
title: "<gold>Guild Vault</gold>"
|
||||
size: 54
|
||||
|
||||
levels:
|
||||
title: "<gold>Guild Levels</gold>"
|
||||
size: 27
|
||||
@@ -0,0 +1,22 @@
|
||||
name: DirtGuilds
|
||||
version: 1.0.0
|
||||
main: com.bitnix.dirtguilds.DirtGuildsPlugin
|
||||
api-version: '1.21'
|
||||
authors: [bitnix]
|
||||
description: GUI-driven guilds plugin for Paper
|
||||
softdepend: [PlaceholderAPI, Vault]
|
||||
|
||||
commands:
|
||||
dirtguilds:
|
||||
description: Main DirtGuilds command
|
||||
usage: /dirtguilds
|
||||
aliases: [dg, guild, guilds]
|
||||
|
||||
permissions:
|
||||
dirtguilds.use:
|
||||
description: Allows use of DirtGuilds
|
||||
default: true
|
||||
|
||||
dirtguilds.admin:
|
||||
description: DirtGuilds admin permission
|
||||
default: op
|
||||
Reference in New Issue
Block a user