Configuratie
- Nieuwste versie
- 3.6.0
- Minecraft
- 1.21.4 - 26.3
- Platforms
- Spigot, Paper, Folia, Purpur
- Minimale Java-versie
- 21+
Dit artikel is geschreven voor 3.5.5. De nieuwste stabiele versie is 3.6.0; gebruik de actuele vereisten hierboven.
Configuratie
Bestanden en opgeslagen gegevens
Bestandsnamen zijn op sommige systemen hoofdlettergevoelig.
Configuratie
Laat
PlayerData-opslag
Hieronder staan de standaardwaarden bij uitvoering.
Berichten
Configuratievoorbeelden
Voeg voorbeelden samen met de juiste Config.yml-secties; maak geen dubbele FLAGS- of PlayerDataStorage-secties. De wereldoverschrijving geldt alleen voor de genoemde wereld. Herstart na handmatige bewerking; GUI-/commandowijzigingen van flags worden direct opgeslagen.
Volledige meegeleverde bestanden
Dit zijn de vier exacte bestanden van 3.5.5. Opstarten voegt ook bovenstaande PlayerDataStorage-instellingen toe; behoud die waarden. Lege gegevensbestanden zijn bewust leeg. Vervang bestaande Worlds.yml of myEQ.yml niet om een configuratievoorbeeld toe te passen.
Bestanden en opgeslagen gegevens
Bestandsnamen zijn op sommige systemen hoofdlettergevoelig.
Config.yml bevat flags, commandoregistratie, kleurcodes, moderatie en gegenereerde PlayerData-instellingen. Messages.yml bevat instelbare berichten. Worlds.yml bewaart werelddefinities en spawncoördinaten. myEQ.yml bewaart persoonlijke inventarissen per naam. PlayerData/<uuid>.yml bevat oude of gespiegelde spelersrecords. De standaard SQLite-database is playerdata.db.Configuratie
Laat
CfgVersion aan de plugin. FLAGS bevat globale toestaan/blokkeren-waarden; FLAGS.WORLDS.<world>.<FLAG> kan ze overschrijven. INTERACT en EXPLOSIONS zijn standaard true hoewel het meegeleverde bestand de oudere zeven flags vermeldt. colorCode activeert chatkleuren en vereist nog steeds het spelerrecht. CommandRegistration.<command> beheert registratie bij opstarten. Herstart na handmatige wijzigingen.BanManager.DefaultReason bepaalt de beginreden; AdminNick registreert de beheerder en KickPlayer beheert direct verbreken. BanMessage is een lijst regels met &-kleuren en de getoonde plaatsaanduidingen. Ban en unban openen interfaces in plaats van reden of duur via chat te accepteren.PlayerData-opslag
PlayerDataStorage wordt bij opstarten toegevoegd. Het bewaart UUID/naam, demping en bewegingsblokkade van opgeslagen spelers, geen inventarissen, EnderChests of XP. Kies SQLITE, MYSQL of YAML. Databasemodi vereisen de juiste JDBC-driver beschikbaar voor de plugin; initialisatiefouten gebruiken YAML als terugval aanstaat. Dit is geen directe synchronisatie tussen servers.Hieronder staan de standaardwaarden bij uitvoering.
fallback-to-yaml staat terugval toe bij initialisatiefouten. Het SQLite-bestand moet binnen de pluginmap blijven. MySQL gebruikt host, poort, database, gebruiker, wachtwoord en tabel, met optionele SSL en ophalen van publieke sleutels; verbindings-/sockettime-outs zijn milliseconden. legacy-yaml beheert import bij opstarten, bestanden behouden en databaseschrijfacties spiegelen naar bewaarde YAML. Wachten bij afsluiten is begrensd op 1–120 seconden. Kopieer database en YAML vóór moduswijzigingen.Code · Platte tekst
PlayerDataStorage:
type: SQLITE
fallback-to-yaml: true
sqlite:
file: playerdata.db
mysql:
host: 127.0.0.1
port: 3306
database: minecraft
username: root
password: ''
table: guiadmin_tools_player_data
use-ssl: false
allow-public-key-retrieval: false
connection-timeout-ms: 5000
socket-timeout-ms: 10000
legacy-yaml:
import-on-startup: true
keep-files: true
mirror-writes: true
shutdown-timeout-seconds: 10
Berichten
MESSAGE_OPTION activeert instelbare berichten; PREFIX_OPTION beheert de gezamenlijke PREFIX. Bewerk teksten onder MESSAGES met behoud van plaatsaanduidingen. &-kleuren worden ondersteund; dit vertaalt niet alle vastgelegde GUI-labels. Deze versie heeft geen taalkeuzecommando. Herstart na handmatige bewerking.Configuratievoorbeelden
Voeg voorbeelden samen met de juiste Config.yml-secties; maak geen dubbele FLAGS- of PlayerDataStorage-secties. De wereldoverschrijving geldt alleen voor de genoemde wereld. Herstart na handmatige bewerking; GUI-/commandowijzigingen van flags worden direct opgeslagen.
Code · Platte tekst
FLAGS:
PVP: true
INTERACT: true
EXPLOSIONS: true
WORLDS:
lobby:
PVP: false
BREAK_BLOCK: false
PLACE_BLOCK: false
Code · Platte tekst
PlayerDataStorage:
type: MYSQL
fallback-to-yaml: true
mysql:
host: "127.0.0.1"
port: 3306
database: "minecraft"
username: "guiadmintools"
password: "REPLACE_WITH_YOUR_PASSWORD"
table: "guiadmin_tools_player_data"
use-ssl: false
allow-public-key-retrieval: false
connection-timeout-ms: 5000
socket-timeout-ms: 10000
Volledige meegeleverde bestanden
Dit zijn de vier exacte bestanden van 3.5.5. Opstarten voegt ook bovenstaande PlayerDataStorage-instellingen toe; behoud die waarden. Lege gegevensbestanden zijn bewust leeg. Vervang bestaande Worlds.yml of myEQ.yml niet om een configuratievoorbeeld toe te passen.
Config.yml
Code · Platte tekst
#Config version
#DO NOT CHANGE IT MANUALLY!
CfgVersion: 1.6
#Flags are working on whole server without WorldEdit and WorldGuard
#TRUE - allow
#FALSE - block
#Tip: change values to control global behavior (e.g., PVP or chat blocking)
FLAGS:
PLACE_BLOCK: true
BREAK_BLOCK: true
CHAT: true
PVP: true
MOB_SPAWN: true
DROP_ITEM: true
PICKUP_ITEM: true
#TRUE - set '&' as color code for chat messages
#Permission - 'admintools.tools.colorcode' or 'admintools.tools.colorcode.tool'
colorCode: true
#FALSE - unregister
#Tip: set to false to hide/unregister a command entirely
CommandRegistration:
admintools: true
ban: true
cleararrows: true
clearchat: true
clearinv: true
effects: true
enderchest: true
exp: true
fastflags: true
fly: true
gamemode: true
god: true
gamerules: true
heal: true
kickall: true
kick: true
kill: true
mobspawn: true
mute: true
myeq: true
player: true
repair: true
servermanager: true
showinv: true
speed: true
timeweather: true
top: true
tp: true
tptome: true
tppos: true
tpw: true
unban: true
workbench: true
worldmanager: true
#Ban manager config
BanManager:
#Set default ban reason
DefaultReason: 'No reason!'
#Save admin nick
AdminNick: true
#Kick player immediately
KickPlayer: true
#Ban message
#Color code - &
#%REASON% - reason variable
#%EXPIRES% - expires variable
BanMessage:
- "&cYou are banned!"
- "&cUsername: &f%PLAYER%"
- "&cReason: &f%REASON%"
- "&cCreated: &f%CREATED%"
- "&cExpires: &f%EXPIRES%"
- "&cBanned by: &f%BANNER%"
Messages.yml
Code · Platte tekst
# Messages configuration version
# DO NOT CHANGE IT MANUALLY!
CfgVersion: 3.2
# Enables messages sent after commands and GUI tool actions.
MESSAGE_OPTION: true
# Adds one consistent prefix to every configurable message.
PREFIX_OPTION: true
PREFIX: '&8[&cGUIAT&8] &r'
# Color code: &
# Do not change variables inside % %.
MESSAGES:
# Technical messages
NO_PERMISSION: '&cYou do not have permission to perform this action.'
PLAYER_ONLY: '&cOnly a player can use this command.'
CORRECT_USAGE: '&eUsage: &a&l%SYNTAX%&r&e.'
WRONG_VALUE: '&cInvalid value. Check the command arguments and try again.'
WRONG_PLAYER: '&cPlayer &d&l%PLAYER%&r &cwas not found or is offline.'
ACTION_FAILED: '&cThe action could not be completed. Check the server console for details.'
UNSUPPORTED_FEATURE: '&cThis feature is not supported by the current server software.'
INTEGRATION_UNAVAILABLE: '&cThe &e%INTEGRATION% &cintegration is unavailable.'
TELEPORT_FAILED: '&cTeleportation failed. The destination may be unavailable or unsafe.'
# Basic tools and commands
ADD_EXP: '&eAdded &a&l%EXP%&r &eexperience points.'
SET_EXP: '&6Your total experience is now &a&l%EXP%&r&6.'
SHOW_EXP: '&6Your total experience is &a&l%EXP%&r&6.'
INVALID_EXP_VALUE: '&cInvalid experience value: &e%EXP%&c.'
CLEARARROWS: '&6All arrows were removed from your body.'
CLEAR_MY_INV: '&6Your inventory was &ccleared&6.'
CLEAR_INV_ALL: '&6Inventories of all online players were cleared.'
FLY: '&6Flight mode: &a&l%SET%&r&6.'
FLY_SPEED: '&6Flight speed: &a&l%SPEED%&r&6.'
GAMEMODE: '&6Your game mode was changed to &a&l%MODE%&r&6.'
GOD: '&6God mode: &a&l%SET%&r&6.'
HEAL_ME: '&6You were healed.'
POTION_EFFECT: '&6Added potion effect: &a&l%EFFECT%&r&6.'
POTION_EFFECT_REMOVED: '&6Removed potion effect: &a&l%EFFECT%&r&6.'
POTION_EFFECTS_CLEAR: '&6All potion effects were cleared.'
POTION_EFFECTS_CLEAR_PLAYER: '&6Cleared all potion effects from &d&l%PLAYER%&r&6.'
REPAIR_ITEMS: '&6All supported items were repaired.'
RESET_EXP: '&6Your experience was reset.'
TOP: '&6You were teleported to the highest block.'
TPPOS: '&6Teleported to &a&l%LOCATION%&r&6.'
WALK_SPEED: '&6Walk speed: &a&l%SPEED%&r&6.'
OPEN_ENDER_CHEST: '&6Opened your ender chest.'
OPEN_ENDER_CHEST_PLAYER: '&6Opened the ender chest of &d&l%PLAYER%&r&6.'
OPEN_WORKBENCH: '&6Opened the portable workbench.'
OPEN_PLAYER_INVENTORY: '&6Opened the inventory of &d&l%PLAYER%&r&6.'
# Player manager tools and commands
ADD_EXP_PLAYER: '&6Added &a&l%EXP%&r &6experience points to &d&l%PLAYER%&r&6.'
SET_EXP_PLAYER: '&6Set the experience of &d&l%PLAYER%&r &6to &a&l%EXP%&r&6.'
SHOW_EXP_PLAYER: '&d&l%PLAYER%&r &6has &a&l%EXP%&r &6total experience.'
CLEARARROWS_PLAYER: '&6Removed all arrows from &d&l%PLAYER%&r&6.'
CLEAR_INV: '&6Cleared the inventory of &d&l%PLAYER%&r&6.'
DEOP_PLAYER: '&6Removed operator status from &d&l%PLAYER%&r&6.'
FLY_PLAYER: '&6Flight mode for &d&l%PLAYER%&r&6: &a&l%SET%&r&6.'
GAMEMODE_PLAYER: '&6Changed the game mode of &d&l%PLAYER%&r &6to &a&l%MODE%&r&6.'
GOD_PLAYER: '&6God mode for &d&l%PLAYER%&r&6: &a&l%SET%&r&6.'
HEAL_PLAYER: '&6Healed &d&l%PLAYER%&r&6.'
KICK: '&6Kicked &d&l%PLAYER%&r&6.'
KICK_ALL: '&6Kicked all other online players.'
KILL: '&6Killed &d&l%PLAYER%&r&6.'
OP_PLAYER: '&6Granted operator status to &d&l%PLAYER%&r&6.'
OP: '&6You are now a server operator.'
DEOP: '&6You are no longer a server operator.'
REPAIR_ITEMS_PLAYER: '&6Repaired supported items for &d&l%PLAYER%&r&6.'
RESET_EXP_PLAYER: '&6Reset the experience of &d&l%PLAYER%&r&6.'
TOP_PLAYER: '&6Teleported &d&l%PLAYER%&r &6to the highest block.'
TP: '&6Teleported to &d&l%PLAYER%&r&6.'
TP_TO_ME: '&6Teleported &d&l%PLAYER%&r &6to you.'
BLOCK_MOVEMENT: '&6Blocked movement for &d&l%PLAYER%&r&6.'
UNBLOCK_MOVEMENT: '&6Restored movement for &d&l%PLAYER%&r&6.'
MOVEMENT_BLOCKED: '&cYour movement was blocked by an administrator.'
MOVEMENT_UNBLOCKED: '&6Your movement was restored by an administrator.'
MUTE_PLAYER: '&6Muted &d&l%PLAYER%&r&6.'
UNMUTE_PLAYER: '&6Unmuted &d&l%PLAYER%&r&6.'
MUTED: '&cYou were muted by an administrator.'
UNMUTED: '&6You were unmuted by an administrator.'
WHITELIST_PLAYER: '&6Whitelist status for &d&l%PLAYER%&r&6: &a&l%SET%&r&6.'
BAN_PLAYER: '&6Banned &d&l%PLAYER%&r &6until &a&l%EXPIRES%&r&6.'
UNBAN_PLAYER: '&6Removed the ban from &d&l%PLAYER%&r&6.'
# World tools
SET_TIME: '&6Time was set to &a&l%TIME%&r&6.'
LOCK_TIME: '&6Time lock: &a&l%STATUS%&r&6.'
LOCK_WEATHER: '&6Weather lock: &a&l%STATUS%&r&6.'
SET_WEATHER: '&6Weather was set to &a&l%WEATHER%&r&6.'
TP_WORLDS: '&6Teleported to world &a&l%NAME%&r&6.'
TP_WORLDS_PLAYER: '&6Teleported &d&l%PLAYER%&r &6to world &a&l%NAME%&r&6.'
CREATED_NEW_WORLD: '&6Created world &a&l%NAME%&r&6.'
RENAMED_WORLD: '&6Renamed world &e%OLD_NAME% &6to &a&l%NAME%&r&6.'
SET_WORLD_SPAWN: '&6Set the spawn of &a&l%NAME%&r &6to &a%LOCATION%&6.'
REMOVE_WORLD: '&6Removed world &a&l%NAME%&r&6.'
WRONG_WORLD: '&cYou must stand in world &e%NAME% &cto set its spawn.'
INVALID_WORLD_NAME: '&cInvalid world name: &e%NAME%&c. Use letters, numbers, spaces, _ or -.'
WORLD_ALREADY_EXISTS: '&cA world or world folder named &e%NAME% &calready exists.'
WORLD_NOT_FOUND: '&cWorld &e%NAME% &cwas not found.'
WORLD_NOT_MANAGED: '&cWorld &e%NAME% &cis not managed by this plugin.'
WORLD_ONLY_LOADED: '&cThe only loaded world cannot be removed or renamed.'
WORLD_OPERATION_BUSY: '&cAnother operation is already running for world &e%NAME%&c.'
WORLD_OPERATION_UNSUPPORTED: '&cWorld %OPERATION% is unavailable on Folia. Stop the server and manage world folders manually.'
WORLD_CREATE_FAILED: '&cWorld &e%NAME% &ccould not be created. Check the server console.'
WORLD_LOAD_FAILED: '&cWorld &e%NAME% &ccould not be loaded. The previous folder name was restored.'
WORLD_UNLOAD_FAILED: '&cWorld &e%NAME% &ccould not be unloaded.'
WORLD_MOVE_PLAYERS_FAILED: '&cPlayers could not be moved safely out of world &e%NAME%&c.'
WORLD_FILE_OPERATION_FAILED: '&cThe folder operation for world &e%NAME% &cfailed. Check the server console.'
# Server tools
CHAT_CLEARED: '&6Chat was cleared.'
MOB_SPAWN: '&6Spawned &a&l%TYPE%&r&6.'
MOBS_CLEARED: '&6Removed &a&l%AMOUNT%&r &6living non-player entities from this world.'
COLOR_CODE: '&6Chat color codes: &a&l%SET%&r&6.'
LANGUAGE: '&6Language: &a&l%LANG%&r&6.'
WHITELIST: '&6Whitelist: &a&l%SET%&r&6.'
COMMAND_REGISTRATION: '&6Command &a/%COMMAND% &6enabled: &a&l%SET%&r&6.'
GAME_RULE_UPDATED: '&6Game rule &e%RULE% &6was set to &a&l%VALUE%&r&6.'
RELOAD: '&6Server reload was requested.'
STOP: '&6Server shutdown was requested.'
RESTART: '&6Server restart was requested.'
RESTART_FILE_NOT_FOUND: '&cCannot restart: the restart script is not configured or does not exist.'
# Flags
PLACE_BLOCK_FLAG: '&6Place block flag: &a&l%SET%&r&6.'
BREAK_BLOCK_FLAG: '&6Break block flag: &a&l%SET%&r&6.'
CHAT_FLAG: '&6Chat flag: &a&l%SET%&r&6.'
PVP_FLAG: '&6PvP flag: &a&l%SET%&r&6.'
MOB_SPAWN_FLAG: '&6Mob spawn flag: &a&l%SET%&r&6.'
DROP_ITEM_FLAG: '&6Drop item flag: &a&l%SET%&r&6.'
PICKUP_ITEM_FLAG: '&6Pickup item flag: &a&l%SET%&r&6.'
INTERACT_FLAG: '&6Interact flag: &a&l%SET%&r&6.'
EXPLOSIONS_FLAG: '&6Explosions flag: &a&l%SET%&r&6.'
Worlds.yml
Code · Platte tekst
myEQ.yml
Code · Platte tekst
