- Баллы
- 36
- Ник в Minecraft
- FALSHOR
Поставил плагин "AuthMe" на сервер авторизации (LobbyAuth), для того что бы он авторизировал, регистрировал и телепортировал игроков на сервер лобби (Lobby), но почему-то он не понимает команду - "server lobby", "server survival" и т.п." (Хотя если просто прописывать их в ручную в чат всё замечательно работает). Плагин добавляющий команду "/server ...": ServerCMD 1.0 "https://www.spigotmc.org/resources/servercmd.75834/". Также вычитал на форуме что стоит попробовать писать не "server lobby", а "server:lobby". Как вы поняли, не помогло... (В чат пишется "Unknown command. Type "/help" for help.)". Попробовал даже поставить на bungeecord "authme bridge для bungeecord 1.6.2": https://www.spigotmc.org/resources/authmebridge-for-bungeecord.574/. (но видимо из-за того, что версия у меня 1.12.2 он не заработал ). Кто знает как это решается, подскажите пожалуйста.AuthMe Commands:
# This configuration file allows you to execute commands on various events.
# Supported placeholders in commands:
# %p is replaced with the player name.
# %nick is replaced with the player's nick name
# %ip is replaced with the player's IP address
# %country is replaced with the player's country
#
# For example, if you want to send a welcome message to a player who just registered:
# onRegister:
# welcome:
# command: 'msg %p Welcome to the server!'
# executor: CONSOLE
#
# This will make the console execute the msg command to the player.
# Each command under an event has a name you can choose freely (e.g. 'welcome' as above),
# after which a mandatory 'command' field defines the command to run,
# and 'executor' defines who will run the command (either PLAYER or CONSOLE). Longer example:
# onLogin:
# welcome:
# command: 'msg %p Welcome back!'
# executor: PLAYER
# broadcast:
# command: 'broadcast %p has joined, welcome back!'
# executor: CONSOLE
#
# You can also add delay to command. It will run after the specified ticks. Example:
# onLogin:
# rules:
# command: 'rules'
# executor: PLAYER
# delay: 200
#
# Supported command events: onLogin, onSessionLogin, onFirstLogin, onJoin, onLogout, onRegister, onUnregister
#
# For onLogin and onFirstLogin, you can use 'ifNumberOfAccountsLessThan' and 'ifNumberOfAccountsAtLeast'
# to specify limits to how many accounts a player can have (matched by IP) for a command to be run:
# onLogin:
# warnOnManyAccounts:
# command: 'say Uh oh! %p has many alt accounts!'
# executor: CONSOLE
# ifNumberOfAccountsAtLeast: 5
# Commands to run for players logging in whose 'last login date' was empty
onFirstLogin:
rules:
command: 'server:lobby'
executor: PLAYER
delay: 200
onJoin:
rules:
command: 'server:lobby'
executor: PLAYER
delay: 200
onLogin:
rules:
command: 'server:lobby'
executor: PLAYER
delay: 200
# These commands are called whenever a logged in player uses /logout or quits.
# The commands are not run if a player that was not logged in quits the server.
# Note: if your server crashes, these commands won't be run, so don't rely on them to undo
# 'onLogin' commands that would be dangerous for non-logged in players to have!
onLogout: {}
onRegister: {}
onSessionLogin: {}
# Commands to run whenever a player is unregistered (by himself, or by an admin)
onUnregister: {}
Последнее редактирование: