Features
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
totrue
. Otherwise you can set it tofalse
.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
andactionbar
inteleport-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 here.
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
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 example.
You can configure this in
/plugins/CrownCore/messages.yml
.
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
.
Last updated