Code (YAML):
#
# ,--. ,--. ,--. ,--. ,--.
# | .' / ,--,--. ,-| |,--,--, `--' ,---.| |,-.
# | . ' ' ,-. |' .-. || \,--.| .--'| /
# | |\ \\ '-' |\ `-' || || || |\ `--.| \ \
# `--' '--' `--`--' `---' `--''--'`--' `---'`--'`--'
# developed by
# MajorInventory Plugin
# © 2025 – by Kadnick
# You have to set up mysql credentials in order to use this plugin. Not using it would cost server performance.
mysql
:
# It is strongly recommended to use a locally hosted mysql server.
host
: localhost
# Do not change the port unless you know what you do.
port
: 3306
# Please do use the root user only for testing purposes. For usage on a live server please create an extra mysql user.
username
: root
password
: ''
# You have to set up a database first. The plugin won't create one for you ...
database
: ''
# Do not touch this unless you know what you do.
ssl
: false
autoReconnect
: true
# Inventories in worlds not given below will stay independently of this plugin
# Please pay attention to upper and lower case of written world names !!
groups:
group1
:
- world
- world_the_end
- world_nether
group2
:
- test
# Worlds pagination is disabled in
disabled_in_worlds
:
- test
# What the plugin should do on player death.
# 0 => Clear the entire inventory for current world group
# 1 => Clear the page the player currently has opened on death
# 3 => Keep the entire inventory
# The permission majorinventory.keepinventory overrides options 0 and 1 and leads to the player not loosing stuff.
handlePlayerDeath
: 0
# The interval at which the plugin saves all current pages of all online users, specified in seconds.
autoSave
: 300
controlItemMaterial
: MAP
language:
invItemName
: '§3Inventory Control'
lore
:
- '§7§lLeft click §8§l>> §7Previous page'
- '§7§lRight click §8§l>> §7Next page'
- ''
- '§7Page §3
%currentPage% §7/ §3%maxPages%'