Skip to content

6. RestrictedMode

Philipp Bolte edited this page Jun 17, 2018 · 2 revisions

This MOTD gets triggered if you habe RestrictedMode enabled.

res

Config

Description

RestrictedMode:
Enable: false
Motd:
AccessGranted: '&4Server is in restricted mode! You are able to join.'
AccessDenied: '&4Can''t connect to server.'
KickMessage: 'java.net.ConnectException: Connection timed out: no further information:'
Slots:
VersionText: ''

Change the value of Enable to true to activate it or use /serverlist restrictedmode. KickMessage is shown if someone without permissions trys to join. The VersionText is empty to simulate an offline server for unauthorized players. But you can change that of course.

Variables RestrictedMode

  • %line% -> second line

Apostrophe usage

Because the apostrophe is used to border strings, you have to mask it if you want to use it in your MOTD. You have to mask it by using two apostrophes. Config: It''s -> Motd: It's

Clone this wiki locally