ItemJoin

ItemJoin

157k Downloads

Item Config keeps regenerating

smokehrw opened this issue ยท 1 comments

commented

I'm trying to configure the items, but every time I finish and test it out. The file keeps regenerating and going back to the default items (Diamond sword, armor etc.) I searched up tutorials online and my config.yml file is way different than the one's on the tutorials.

my config:
Modifying this will cause this file to break and regenerate.
config-Version: 7

At the moment, the available language translations are; English, Russian, French, Spanish, Chinese, Traditional Chinese.
If you want to contribute to a language translation please create a pull request; https://github.com/RockinChaos/ItemJoin/tree/master/files/locales
Language: 'English'

These are typically general maintenance settings that do not affect functionality.
General:
CheckforUpdates: true
Metrics-Logging: true
Log-Commands: true
Debugging: false

These settings are optional as a database file is generated by default or you can setup MySQL database connections.
Database:
MySQL: false
host: 'localhost'
port: 3306
table: 'database_name'
user: 'root'
pass: 'password'

These settings will take effect globally throughout the plugins system.
Settings:
HeldItem-Slot: DISABLED
HeldItem-Triggers: JOIN, WORLD-SWITCH
DataTags: true

These permissions if enabled, determine whether the permission(s) is/are applied to certain players.
Permissions:
Obtain-Items: false
Obtain-Items-OP: false
Commands-Get: false
Commands-OP: false
Movement-Bypass: false

If enabled this will clear items from their inventory upon performing the specified action for the specified type.
The available types(s) are ALL for all items or ITEMJOIN for only the ItemJoin items.
Clear-Items:
Type: ITEMJOIN
Delay-Tick: 2
Join: DISABLED
World-Switch: DISABLED
Region-Enter: DISABLED
Options: PROTECT, PROTECT_OP, PROTECT_CREATIVE
Blacklist: '{id:BEDROCK}, {slot:4}, {name:Blazefury}'

This is the command(s) executed upon the player performing the defined trigger(s), for the specified world(s).
Active-Commands:
commands:
- 'itemjoin get '
- 'first-join: say This is a command only executed once per world, per player.'
triggers: JOIN
enabled-worlds: DISABLED

This determines if the action is allowed for all items in the specified worlds.
To disable an action, simply set the action to true for all worlds or list each world separated by a comma.
Prevent:
Pickups: DISABLED
itemMovement: DISABLED
Self-Drops: DISABLED
Death-Drops: DISABLED
Bypass: CREATIVE, OP

commented

just found out how to do all of this in-game. nvm