Minepacks/resources/config.yml
2018-04-02 18:27:27 +02:00

152 lines
7.6 KiB
YAML

# Minepacks Config File
# Language Settings
Language:
# Defines the used language and the corresponding file used. The corresponding language file will be placed next to the config.yml named: <Language>.yml
Language: en
# Options:
# Overwrite (deletes all changes from the file and extracts a new language file)
# Upgrade (extracts a new language file and copy's all settings from the old language file)
# Update (adds the default (english) text values for all missing values, just some basic formatting)
UpdateMode: Upgrade
# Title to be shown for the opened inventory for everyone except the owner of the backpack. Can contain {OwnerName} (which will be replaced with the players name).
BackpackTitleOther: "&b{OwnerName}'s Backpack"
# The title of the inventory for the owner of the backpack.
BackpackTitle: "&bBackpack"
# Defines if the content of the backpack get dropped on the death of a player.
# If enabled, it can be disabled for individual players with the "backpack.KeepOnDeath" permission.
DropOnDeath: true
# Defines the max amount of columns for a backpack.
# The size of the user's backpack will be defined by the permission, permissions for bigger backpacks than this value will be ignored.
# Can be set to anything > 0. Backpacks with more than 6 columns will have a broken UI! Sizes bigger than 9 may not work with all permission plugins.
MaxSize: 6
# Defines in which game-modes a player can access his backpack (name or id)
# Options: ADVENTURE, CREATIVE, SPECTATOR, SURVIVAL
# AllowedGameModes: [ "SURVIVAL", "ADVENTURE" ]
AllowedGameModes: [ "SURVIVAL" ]
# Defines how long a player have to wait till he can reopen his backpack.
# Time is in seconds. Values < 1 disable the cooldown.
CommandCooldown: -1
# If enabled whe cooldown will be synced between servers (bungeecord network). It will also prevent players from leaving and joining to bypass the cooldown.
SyncCooldown: false
# Controls for the auto pickup on full inventory function
FullInventory:
# If items should be collected to the backpack if the players inventory is full
CollectItems: false
# Interval in seconds how often items around the player should be collected, increase it if it lags the server
CheckInterval: 1
# Radius in which items get collected, in meter/blocks, allow decimals
CollectRadius: 1.5
# Database settings
Database:
# Database type. MySQL, SQLite or Files
Type: SQLite
# Turn off if you want to use player ids created from an other plugin. When using shared tables please check the tables selection
UpdatePlayer: true
# Auto database cleanup settings
AutoCleanup:
# Defines the max amount of days backpacks will be stored. -1 to disable auto cleanup
MaxInactiveDays: -1
# If you would like to use UUIDs, it is recommended not to change this setting unless you know what you are doing!
# true: Only to use if your server is running in online mode and your minecraft version is 1.7.5 or newer
# false: In offline mode or for minecraft version below 1.7.5
# If you are using BungeeCord please set this setting based on your BungeeCord's online mode!!!
UseUUIDs: true
# Defines the storage format for UUIDs for compatibility with other plugins (shared tables)
# true: format: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
# false: format: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
UseUUIDSeparators: false
# Settings only for MySQL
SQL:
Host: localhost:3306
Database: minecraft
User: minecraft
Password: minecraft
# The max amount of connections to the database the connection pool will open
MaxConnections: 2
# List of properties for your SQL connection. Can be used to disable SSL.
# Properties: ["useSSL=false"]
Properties: []
# Tables settings for shared tables when using MySQL - Advanced MySQL Settings
# Use these settings only if you know what you are doing!!!!
# Do only change this settings if you know what you are doing and have some basic MySQL knowledge!!!
# Changing settings down here after you have used this plugin may result in data inconsistency!!!
Tables:
# Table names
# Don't change the players table if you have backpacks stored in your database already! Player id's might wont match anymore resulting data inconsistency.
User: backpack_players
Backpack: backpacks
Cooldown: backpack_cooldowns
# Field settings for the tables
# Do not change them after the tables have been generated!
# If you like to change them after the tables have been generated alter the tables manually or delete them (the system then will regenerate them).
Fields:
User:
Player_ID: player_id
Name: name
UUID: uuid
Backpack:
Owner_ID: owner
ItemStacks: itemstacks
Version: version
LastUpdate: lastupdate
Cooldown:
Player_ID: id
Time: time
# Settings controlling the cache behavior of the plugin. You may can optimize it a little bit depending on your player count, ram or cpu bottlenecks.
Cache:
UnCache:
# The strategie used to uncache offline players. Options
# interval (offline players get uncached every x seconds)
# intervalChecked (like interval, but also ensures that the player is already offline for at least the interval time, add's a cpu overhead)
# ondisconnect (player instantly gets uncached as soon as he disconnects, may adds overhead if other plugins try to access the player data when they go offline, also it may be problematic for players with unstable connections)
# ondisconnectdelayed (player gets uncached x seconds after he went offline, adds overhead on disconnect, you shouldn't use this with a lot of players joining and leaving.)
Strategie: interval
# Used for the interval based uncaching algorithms. Also used as delay for ondisconnectdelayed. Value in seconds. Default: 600 = 10 minutes
Interval: 600
Delay: 600
Shulkerboxes:
# This setting controls whether players can put shulkerboxes into their backpacks.
PreventInBackpack: true
# This setting allows to disable shulkerboxes all together. Players won't be able to craft or use them.
DisableShulkerboxes: false
# This settings controls how existing shulkerboxes are handled if they are disabled.
Existing:
# Every existing shulker-box will be removed when a player tries to interact with it. The content will be lost.
Remove: false
# Every existing shulker-box will be destroyed when a player tries to interact with it. The content will be dropped to the ground.
Destroy: false
ItemFilter:
# Enables the item filter. Make sure to define items to be filtered.
Enable: false
# List off items not allowed in the backpack. Can be name or id.
Blacklist: []
# This settings allow control over how the plugin behave in different worlds
WorldSettings:
# All worlds listed here will not have the plugin usable
# Blacklist: ["creative_world"]
# Blacklist: ["creative_world1", "creative_world2"]
Blacklist: []
# Defines how the Blacklist will be enforced
# Options:
# Message = The player will see an message that the usage of the backpack is denied in this world.
# MissingPermission = The player will receive the plugins no permission message.
# NoPlugin = The plugin will not be available at all and act as if it was not installed. This also exclude players with permission to bypass the world restriction from using it!
BlacklistMode: "Message"
Misc:
# Enables/Disables the auto-update function of the plugin.
AutoUpdate: true
# Enable this option if you are using a BungeeCord setup!
UseBungeeCord: false
# Config file version. Don't touch it!
Version: 20