-
Notifications
You must be signed in to change notification settings - Fork 0
Match configuration
- Make sure no players are opped before anyone joins the server.
- Create a spawn platform high up (above y=128) at 0,0 and do
/setspawnwhile standing on it. The plugin will automatically ensure that players joining the match are forced to remain there (if they drop below y=128 they will be teleported back to spawn). - If you don't want to use this feature, set the spawn point to any location below y=128
When you start a new world, a file called uhcmatch.yml is created in the main world folder. This file contains all the same options as config.yml, and in addition, also contains:
- Players' start locations
- Points of interest
- World border
- Names of players and teams (if saved using
/uhc save teams).
You can edit this file manually to configure teams and players ahead of time.
If you prefer, you can do all of the configuration from within the game, using the following commands:
List all the available configuration parameters and their current values
Sets the value of the specified configuration parameter
These two commands can be used to view, create and delete players and teams.
-
/players- lists teams -
/players add name- adds a player called name -
/players add name identifier- adds a player called name to the team identified by identifier -
/players rm name- removes the player called name -
/players addall- adds all remaining players (free-for-all matches only) -
/teams- lists teams -
/teams add identifier full-team-name- creates a new team with the given name and identifier -
/teams rm identifier- removes the team with the given identifier
Examples:
-
/teamslists all current teams, and/playerslists all players -
/teams add python Monty Python- would create a team called "Monty Python" with the identifier "python". -
/players add dead_parrot python- would add a player called "dead_parrot" to the aforementioned team. -
/players addallis a useful command for free-for-all matches, which adds all online players to the match.
For full details of all the available commands, please see the Command list.
Configuring bonus chest contents (pre-match) is done as follows:
- Place an enderchest
- Type
/uhc getbonus- the contents of your enderchest will become a copy of the current bonus chest inventory - Edit enderchest contents as desired
- Type
/uhc setbonus- your enderchest contents will be saved as the new bonus chest for all players/teams
First, make sure you have set the ffa parameter to the correct value (true for single players, false for teams). In teams mode, you get 3x3 starting pens, but in FFA mode you get 1x1.
/uhc sp creates a start point at your current location, and builds a glass holding pen with a chest below the player's feet and a sign outside. The chest will be filled with the configured bonus chest items, and the sign will be marked with the player or team's name, when the match begins.
- If you want to create start points without pens, or reconfigure start points where the pen already exists, type
/uhc sp -n.
There are two steps here - "launching" (teleporting players to their start points) and the actual start of the match. Launching takes place 90 seconds before the match begins, in order to ensure that the world has time to load.
The entire starting process can be run fully automated, by typing the /ready command. This will give a 2-minute countdown, at the start of which any players who haven't yet joined will be reminded to join.
You can also choose a shorter countdown if you wish, by giving a duration in seconds. For a 10-second countdown, type /ready 10. However, if your countdown is less than 90 seconds, you will need to manually launch players first, by typing /launch.
When the match begins, time is set to 0, players are healed and fed, and mobs are butchered automatically.