2018-05-15 23:30:20 +00:00
|
|
|
# Chest Shop Notifier
|
|
|
|
# Config file for 1.2
|
|
|
|
|
|
|
|
logging:
|
|
|
|
admin-shop: true
|
|
|
|
|
|
|
|
notifications:
|
|
|
|
notify-on-user-join: true
|
|
|
|
delay-seconds: 5
|
|
|
|
|
|
|
|
history:
|
|
|
|
max-rows: 10
|
|
|
|
|
|
|
|
debugging:
|
2019-08-19 00:12:51 +00:00
|
|
|
verbose: true
|
2018-05-15 23:30:20 +00:00
|
|
|
|
|
|
|
database:
|
2019-08-19 00:12:51 +00:00
|
|
|
# Possible types: SQLite and MySQL
|
|
|
|
type: sqlite
|
|
|
|
dbname: 'database'
|
|
|
|
# MySQL specific settings
|
2018-05-15 23:30:20 +00:00
|
|
|
host: 'localhost'
|
|
|
|
port: 3306
|
2018-05-31 00:39:09 +00:00
|
|
|
username: 'chestshop'
|
|
|
|
password: 'NOPE'
|
2019-08-19 00:12:51 +00:00
|
|
|
ssl: false
|
2018-05-15 23:30:20 +00:00
|
|
|
|
|
|
|
clean-on-startup:
|
|
|
|
enabled: false
|
|
|
|
parameters: "--older-than 30 --all"
|
|
|
|
|
|
|
|
messages:
|
|
|
|
sales: "&c ** You made &f{sales} sales&c since you last checked."
|
|
|
|
history-cmd: "&c ** To see them, type &f/csn history&c."
|
|
|
|
history-caption: "&dChestShop Notifier // &7Latest Commissions"
|
|
|
|
history-empty: "&cNothing to show."
|
2019-08-19 00:12:51 +00:00
|
|
|
history-bought: "&a+ &9{player} &7bought &a{count}x&9{item} &f{timeago}&7 ago &a(+{money})"
|
|
|
|
history-bought-read: "&a+ &7{player} &8bought &a{count}x&7{item} &7{timeago}&8 ago &a(+{money})"
|
|
|
|
history-sold: "&c- &9{player} &7sold you &c{count}x&9{item} &f{timeago}&7 ago &c(-{money})"
|
|
|
|
history-sold-read: "&c- &7{player} &8sold you &c{count}x&7{item} &7{timeago}&8 ago &c(-{money})"
|
2018-05-15 23:30:20 +00:00
|
|
|
history-footer-page: "&c- Page &f{current}&c/&f{pages}&6 - &7/csn history <page>"
|
2019-08-19 00:12:51 +00:00
|
|
|
history-footer-clear: "&f- &cTo remove all old entries, type /csn clear"
|
2018-05-15 23:30:20 +00:00
|
|
|
history-clear: "&cHistory cleared! New sales will continue to be recorded."
|
2018-05-31 00:39:09 +00:00
|
|
|
history-marked-read: "&cUnread entries marked read!"
|
2019-08-19 00:12:51 +00:00
|
|
|
# new translations
|
|
|
|
reload-cmd: "&dChestShop Notifier // &7Reloading, please wait..."
|
|
|
|
reload-success: "&aReloaded!"
|
|
|
|
reload-database-success: "&aDatabase connected!"
|
|
|
|
reload-database-fail: "&cDatabase failed to connect!"
|
|
|
|
user-not-found: "&cThe user '{player}' was not found."
|
|
|
|
page-not-found: "&e{page} &cis not a valid page number input for /csn history <page>!"
|
|
|
|
page-not-found-other: "&e{page} &cis not a valid page number input for /csn history <user> <page>!"
|
|
|
|
database-error: "&cInvalid database connection. Please edit config and /csn reload."
|
|
|
|
database-error-oncommand: "&cDatabase error while executing this command!"
|
|
|
|
database-cleaned: "&cCleaned database from {amount} entries!"
|
|
|
|
database-uploaded: "&cBatch executed!"
|
|
|
|
database-convert: "&cAttempting to convert database..."
|
|
|
|
database-convert-fail: "&cError while trying to convert! Maybe you don't have a 'csn' table?"
|
|
|
|
database-converted: "&cDatabase converted!"
|
|
|
|
unrecognized-command: "&cCommand not recognized. Type /csn help for help."
|
|
|
|
missing-arguments: "&cMissing parameter arguments: {usage}"
|
|
|
|
invalid-number: "&c{typo} is not a valid number input for {usage}!"
|
|
|
|
invalid-username: "&c{typo} is not a valid username/uuid input for {usage}!"
|
|
|
|
missing-permission: "&cYou don't have the permission {permission}!"
|
|
|
|
help:
|
|
|
|
header: "&dChestShop Notifier // &7Commands"
|
|
|
|
help: "&7 /csn &dhelp &f- Plugin usage & commands"
|
|
|
|
history: "&7 /csn &dhistory [<page>]&f- View sales"
|
|
|
|
read: "&7 /csn &dread &f- Mark all sales as read"
|
|
|
|
clear: "&7 /csn &dclear &f- Remove read sales"
|
|
|
|
history-others: "&7 /csn &dhistory <username> [<page>]&f- View sales of another player"
|
|
|
|
cleandatabase: "&7 /csn &ccleandatabase &f- Remove database entries. Parameters:"
|
|
|
|
cleandatabase-older-than: "&c --older-than, -o <days> &f- Removes entries older than <days>"
|
|
|
|
cleandatabase-user: "&c --user, -user <username/uuid> &f- Removes entries from a single user only"
|
|
|
|
cleandatabase-read-only: "&c --read-only, -r &f- Removes only read entries, default behaviour"
|
|
|
|
cleandatabase-all: "&c --all, -a &f- Removes all entries"
|
|
|
|
upload: "&7 /csn &cupload &f- Force update databases"
|
|
|
|
convert: "&7 /csn &cconvert &f- Convert database to UUIDs"
|
|
|
|
reload: "&7 /csn &creload &f- Reload configuration"
|
2018-05-31 00:39:09 +00:00
|
|
|
|