🛠️Configuration files
Config.yml file content
# SpinToWin by @rzt1020 & @PQguanfang
#
# READ THE WIKI: spintowin.superiormc.cn
#
config-files:
language: english
minecraft-locate-file:
# After enable, we will autoload Minecraft locate file when we need know an item's locate name.
# It will make server little lag when loading this file because this file is very large.
enabled: true
generate-new-one: false
file: 'zh_cn.json'
# Paper only feature.
paper-api:
save-item: true
skull: true
use-component:
gui-title: false
message: false
check-permission-limit: false
# Item Price
item-price:
# Support Value: Bukkit, ItemFormat.
check-method: Bukkit
item-format:
ignore-key:
- 'lore'
- 'damage'
- 'tool.damage-per-block'
# Support Value: UUID, Name.
data-save-mode: UUID
math:
enabled: true
spin-ui:
add-lore:
# If set to true, we will add lore at first line.
# If set to false, we will add lore at last line.
at-first-or-last: false
common-reward:
- '&7Rate: %rate%%'
last-reward:
- '&3(Will obtain if all rewards have claimed!)'
# Set to -1 to disable cooldown system.
spin-button-cooldown: 20
can-not-close-when-spinning: false
auto-copy-resourcepack:
enabled: true
# If you are using Oraxen, please change this to Oraxen.
# Other plugins is OK, you just need put correct path in path option.
plugin: "ItemsAdder"
# If you are using Oraxen, please change this to "/pack/assets".
path: "/contents/spintowin/resourcepack/"
mysql:
enabled: false
host: localhost
port: 3306
user: root
pass: root
database: data
# Support local data only.
auto-save:
enabled: false
period-tick: 6000
hide-message: falseLast updated