Crown Development
  • Introduction
  • License System
  • Plugins
    • CrownCore
      • Features
      • Commands & Permissions
      • Placeholders
      • Messages
      • Configuration
      • Sounds
    • CrownTebexData
      • Commands & Permissions
      • Placeholders
      • Messages
      • Configuration
      • Sounds
    • CrownKits
      • Commands & Permissions
      • Messages
      • Configuration
      • Sounds
    • CrownCoinflips
      • Features
      • Commands & Permissions
      • Placeholders
      • Messages
      • Configuration
    • CrownAreaReset
      • Features
      • Commands & Permissions
      • Placeholders
      • Messages
      • Configuration
      • Sounds
  • 🧡 Discord
Powered by GitBook
On this page
  • Teleportation Handling
  • Location Handling
  • Command and Chat cooldowns
  • Join delay after restart
  • Global values
  • Message color and hex translation.
  1. Plugins
  2. CrownCore

Features

PreviousCrownCoreNextCommands & Permissions

Last updated 1 month ago

Teleportation Handling

The CrownCore handles teleportation for our plugins.

  • You can configure this /plugins/CrownCore/config.yml.

  • To disable the delay completely you can set instant-teleport to true. Otherwise you can set it to false.

  • You can also disable the delay in certain worlds only. Add the world name to this list instant-teleport-worlds.

  • When displaying the teleportation message (only with delay) you can choose between bossbar and actionbar in teleport-message-type.

  • The teleport delay is automaticly disabled for players in gmc and gmsp.

  • This also plays a cherry particle animation when teleporting.

Location Handling

The CrownCore handles location saving for our plugins.

Commands for this can be found .

Command and Chat cooldowns

The CrownCore also comes with an option to set cooldowns to avoid spam.

  • You can configure this in /plugins/CrownCore/config.yml.

  • The command cooldown is set in command-cooldown. This is in milliseconds.

  • The message cooldown is set in message-cooldown. This is in milliseconds.

Join delay after restart

When the server first starts up, CrownCore will not allow players to join for 5 seconds. This can not be disabled.

Global values

  • You can configure this in /plugins/CrownCore/messages.yml.

Key
Internal placeholder
PAPI placeholder

prefix

%prefix%

%cc_prefix%

whitecolor

%accent%

%cc_accent%

accentColor

%white%

%cc_white%

Message color and hex translation.

All messages in the messages.yml are able to undestand legacy color codes aswell as hex color codes in the following formats legacy & and §, #ffffff and &#ffffff.

This plugin comes with 3 global values that can be accessed via papi placeholders or in the message.yml of our plugins via the internal placeholders. Each plugin can also have its own values to use in its messages.yml. To do this you simply add the key you want to the messages.yml file (not in the messages path) and then you can call it by using the internal placeholder %<pluginname>_<key>%. Here is an .

here
example