mnoho z Vás, ktorý vlastnia minecraft server zrejme majú na serveroch AuthMe a taktiež nejaký plugin na permissie, LuckPerms je jedna z tých možností na permissie.
1. Inštalácia
- Nainštalujte si najnovšiu verziu pluginu AuthMe - https://www.spigotmc.org/resources/6269/
- Nainstalujte si plugin LuckPerms - https://luckperms.net/download
- Nainstalujte si plugin Vault - https://dev.bukkit.org/projects/vault/files
- Pluginy hodte do zložky plugins a reštartuje server
2. Nastavenie
- Otvorte zložku AuthMe a nájdite config a tam nastavte MySQL
Kód: Vybrat vše
DataSource:
# What type of database do you want to use?
# Valid values: SQLITE, MYSQL
backend: 'MYSQL'
# Enable the database caching system, should be disabled on bungeecord environments
# or when a website integration is being used.
caching: true
# Database host address
mySQLHost: 'Host'
# Database port
mySQLPort: '3306'
# Connect to MySQL database over SSL
mySQLUseSSL: true
# Username to connect to the MySQL database
mySQLUsername: 'username'
# Password to connect to the MySQL database
mySQLPassword: 'password'
# Database Name, use with converters or as SQLITE database name
mySQLDatabase: 'database'
# Table of the database
mySQLTablename: 'authme'
- Otvorte zložku LuckPerms a nájdite config a taktiež nastavte MySQL
Kód: Vybrat vše
storage-method: mysql
# The following block defines the settings for remote database storage methods.
#
# - You don't need to touch any of the settings here if you're using a local storage method!
# - The connection detail options are shared between all remote storage types.
data:
# Define the address and port for the database.
# - The standard DB engine port is used by default
# (MySQL: 3306, PostgreSQL: 5432, MongoDB: 27017)
# - Specify as "host:port" if differs
address: host:3306
# The name of the database to store LuckPerms data in.
# - This must be created already. Don't worry about this setting if you're using MongoDB.
database: database
# Credentials for the database.
username: username
password: 'password'
3. Potrebné
- Najnovšia verzia LuckPerms nespolupracuje s AuthMe
- Preto musíte otvoriť znova zložku AuthMe a otvoriť config.yml
- Nájdeme si tamforceVaultHook
- Spravíme následovne
Kód: Vybrat vše
forceVaultHook: false
premenujeme na
forceVaultHook: true
- Spravili sme to preto, pretože LuckPerms s najnovšiou verziou nespolupracuje s AuthMe a spadne server, takže preto zapneme funkciu forceVaultHook na true. Nič sa Vám nezmení, všetky permissie nastavenia a ostatné veci Vám ostanú.
MySQL Návod nájdete tu - https://forum.fakaheda.eu/viewtopic.php?f=85&t=34853