Configuration
Commands in World Shift
In this section you can execute commands if the player changes world, you can check if the player is in parkour and add a delay before executing the command list.
World Protection
Enabled worlds
This function is designed exclusively for the protection of worlds. You can add the worlds you want to protect or specify the blocks whose interaction you want to block.
With this configuration section, you will be able to protect your world, to avoid the use of worldguard.
You can also block the interaction of blocks, for example when opening a chest, shulker, hopper and so on.
Use the permission:
prevent.required.opBypass
to overlook events BlockBreakEvent BlockPlaceEvent PlayerInteractEvent HangingBreakByEntityEvent
Here you can find a visual aid on how it works.
This is the list of blocks added by default, which will be blocked for all users without exception.
Spawn location
This will be the location where players will be teleported to once they finish a parkour or enter the mode.
To configure this option from the game, you must go to the location you want, then use the command: /parkouraddon setloc spawn
this will set the spawn point correctly.
Based on the following image, you should set the spawn point to D(0.0)
Once configured and with the option spawn3x3: true
The spawn point will become 3x3 and generate random locations for users to be teleported to.
Join
enabled: With "enabled" set to "true", the specified actions are enabled when a player joins the server.
forceSpawn: Teleports the player to the spawn point defined in
/parkouraddon setloc spawn
setGameMode: This sets the game mode for the player when joining the server. In this case, it is set to "ADVENTURE", which will change the player's game mode to Adventure.
setAllowFlight: When set to "false", this disables the player's ability to fly when joining the server.
resetExp: With "true" set, this means that the player's experience (XP) will be reset to zero when joining the server. This can be useful to prevent players from keeping experience earned in other modes or activities.
setHeldItemSlot: This sets the item slot number that the player will have in hand when joining the server. In this case, it is set to "0", meaning that the player will have the item in the first slot of their inventory.
Regenerate: Here, actions related to the player's regeneration upon joining the server are being specified.
Health: true indicates that the player's health will regenerate when joining the server.
Saturation: true means that the player's saturation will be regenerated when joining the server.
GIve Effects
This option will allow you to give multiple effects to players who initiate parkour.
This setting is designed to give players a Regeneration effect with a (permanent) duration when participating in parkour. You can customize this setting by adjusting the effect, the duration and the amplifier according to your needs.
Controller (Next)
The controller is a feature that manages messages sent to the player once they have completed a parkour. The available options are detailed below:
You can activate or deactivate this function completely according to your needs.
If you want there to be a short delay before the message is sent to the player after completing a parkour, you can set the "delay" property.
In the controller section, you can specify the parts of the parkour that the player must complete. Use a semicolon (;) to separate and define consecutive sections of the parkour. The syntax for doing this is:
Set the delay to
-1
to disable the delay, this usually fixes some placeholders such as current deaths
Automatic Hologram System
This hologram system works as follows:
Hologram enabled (
enabled: true
): First, you can enable or disable holograms according to your preference. If you set "enabled" to "true", the holograms will be enabled and visible. If you set it to "false", the holograms will be disabled and will not be displayed.Hologram height (
ylocation: 0.0
): You can adjust the height at which the holograms will be displayed. The "ylocation" property allows you to specify the vertical position of the hologram. You can customize this height so that the holograms appear at the height you want.It is important to note that this hologram system is automatically activated when the server is turned on.
In addition, when you create a new parkour, the holograms are automatically generated when the server is restarted. This automation makes it easy to create and manage holograms on your server.
Finally, if at any time you wish to completely disable this hologram feature, you can do so by setting "enabled" to "false". This gives you full control over whether or not you want to use holograms on your game server.
Give Item Shop
You will be able to control and modify the items that will be delivered when the player joins a parkour.
material
: Specifies the type of material for the item. For example,HEART_OF_THE_SEA
andDARK_OAK_DOOR
are block or item materials in Minecraft.slot
: Represents the position of the item in the inventory. In this case, the item in the "shop" category will occupy position 1, and the item in the "info" category will occupy position 0.sneaking
: Indicates whether the player must be sneaking to activate the item. If it's true, then the player must be sneaking for the item to take effect.displayName
: The name displayed for the item in the game. It uses a color formatting string with codes like&a
for green and&f
for white.lore
: A list of text lines providing additional information about the item. It is used to describe the purpose or instructions of the item.actions
: A list of actions that will be executed when the player interacts with the item. In this case, the actions are commands that will be run on the server when the player interacts with the item. For example,[command] dm open effects <player>
indicates that a menu named "effects" will be opened for the player.
CheckPoints
This is the configuration of the checkpoints in parkour.
Enable or disable checkpoints (enabled: true): This property allows you to enable or disable the checkpoints feature in parkour.
ParticleEnabled
(ParticleEnabled: true): This property determines whether particles will be displayed when the user steps on a pressure plate (checkpoint).Particle Type
(Particle: TOTEM): Here you specify the type of particle that will be displayed when a player reaches a checkpoint. In this case, the particle type "TOTEM" is used.Messages
(messages): This property defines the messages that will be displayed to the player when a checkpoint is reached.ToggledParticles
: The list of particles that the player can toggle in the /settings menu.
Join Title & End Title
Within the configuration section you can create titles for when the user joins or finishes a parkour.
spiral-ii: This indicates the name of the parkour course to which this setting will apply. Each parkour course can have its own title setting.
Values (values: 20;1;3;1): Here you define the delay, fadein, stay, and fadeout values for the title. In this case, the title will be displayed after a delay of 20 time ticks, will have an appearance time of 1 second, will remain visible for 3 seconds and will fade out for 1 second of time.
Title: Here you set the text that will be displayed as title when a player joins or finishes the course.
Subtitle (subtitle): This is the text that will be displayed as a subtitle next to the title when joining the parkour course.
Title on Leave
Last updated