Skip to content

Configuration

Vrekt edited this page Jul 16, 2021 · 5 revisions

Placeholders

Placeholders allow you to insert certain information within the configuration string/message.

For example %player% was banned for %check% would look like this Player1 was banned for Flight.

NOTE: Not every placeholder works for every configuration string/value. A list will be given with each value noting which placeholders are compatible

  • %player% -> The player name
  • %check% -> The check name
  • %level% -> The violation level
  • %prefix% -> The prefix set in the config
  • %time% -> When the player will be kicked/banned
  • %type%-> The ban length name, either DAYS, YEARS or PERMANENTLY

Main configuration

Here is an overview of the main configuration.


global-kick-message - The message players will see when they get kicked for cheating.

Default

global-kick-message: "&cYou have been kicked for %check%"

Allowed placeholders

%check%


global-kick-delay - The time in seconds to wait before kicking a player.

Default

global-kick-delay: 0


global-violations-kick-message - The message to send to players that have violations on.

Default

global-violations-kick-message: "%prefix% &9%player%&f will be kicked for &c%check%&f in &c%time%&f seconds."

Valid placeholders
  • %prefix%
  • %player%
  • %check%
  • %time%

global-ban-message - The message players will see when they get banned.

Default

global-ban-message: "&cYou have been banned for %check%"

Valid placeholders
  • %check%

global-ban-delay - The time in seconds to wait before banning a player.

Default

global-ban-delay: 0


global-ban-length-type - Whether to ban the player for days, years or permanently.

Default

`global-ban-length-type: DAYS

Allowed values
  • DAYS
  • YEARS
  • PERM

global-ban-length - How long to ban the player for

This value will be ignored if you picked PERM

Default

global-ban-length: 30


global-broadcast-ban - If player bans should be broadcasted to the server.

Default

global-broadcast-ban: false


global-broadcast-ban-message - The message to broadcast to the server when a player is banned.

Default

global-broadcast-ban-message: "%prefix% &c%player% was banned for %check% for %time% %type%"

Valid placeholders
  • %prefix%
  • %player%
  • %check%
  • %time%
  • %type%

global-violations-ban-message - The message to send to players that have violations on

Default

global-violations-ban-message: "%prefix% &9%player%&f will be banned for &c%check%&f in &c%time%&f seconds."

Valid placeholders
  • %prefix%
  • %player%
  • %check%
  • %time%
  • %type%

violation-notify-message - The message to send when a violation occurs

Default

violation-notify-message: "%prefix% &9%player%&f has violated check &c%check%&8(&c%level%&8)&7"

Valid placeholders
  • %prefix%
  • %player%
  • %check%
  • %level%

arc-command-no-permission-message - The message to send when a player doesn't have permission for the command.

This is meant to hide Arc somewhat.

Default

arc-command-no-permission-message: "Unknown command. Type /help for help."


arc-prefix - The chat prefix.

Default

arc-prefix: "&8[&cArc&8]"


violation-data-timeout - How many minutes after a player logs out should their violation data be removed.

Default

violation-data-timeout: 30