🏔️Mountain King
It is a pillar that the player must climb and stay on top of for a certain amount of time. After that, he is thrown back and becomes the king of the mountain until someone else can beat his title.
Installation
Build a pillar about 6 blocks high, although you can build as many as you like.
Place the pressure plate on top.
Stand on the top of the plate and enter the command. The name of this top can be anything. It is only needed for further convenient definition. For example, test1.
/mountainking create test1
Commands
View mode commands
/mountainking help
Creates a new point for king of the hill mode
/mountainking create <name>
Deletes a point by its name
/mountainking delete <name>
Adds an item to your hand as a prize when you win. You need to specify the drop chance. Be sure to change the drop type in the config for this mode.
/mountainking additem <chance>
Permissions
You must use a permission manager like LuckPerms which supports .*
permissions notation. Bukkit doesn't support this notation by default!
Gives all mode access to the player
fun.mountainking.*
Main config (config.yml)
Mountain King enable: true #If "false", this mode will not be available
Mountain King min server online: 0 #How much online must be on the server in allowed worlds for the mode to work
Mountain King action bar enable: false #Will the action bar be active?
Mountain King time for victory: 10 #In seconds.How long do you need to stand on the tower to win?
Mountain King title enable: true #Will the title be displayed when you win?
Mountain King title fade in time: 10 #In ticks
Mountain King title stay time: 40 #In ticks
Mountain King title fade out time: 10 #In ticks
Mountain King message to winner: true #Will a victory message be displayed to the player?
Mountain King message for all: true #Will a message be displayed to others when a player wins?
Mountain King disable for creative mode: false #Will the player need to go into survival mode to participate in the game?
Mountain King fireworks: #Victory animations. You can set 1 and more animations. Or set [] to disable
- 'SALUT_4'
Mode config (mountain_king.yml)
Mountain King rewards:
Drop mode: MONEY
Money reward: 1000.0
Items reward: [] #Set by command
Command reward: []
Mountain King locations: {} #Set by command
Mountain King victories: [] #Set by plugin
You can change the type of reward. Just change it in the config above. Here are what they are:
1) MONEY - Gives only money
2) ITEM - Gives only one item with some chance
3) ALLITEMS - Gives all items in list
4) COMMAND - Executes commands. Example:
Command reward:
- eco give %player% 1000
- say Cool
Last updated