Commands
All commands have an alias that is the same as the command prefixed with 'uhc'. e.g. /heal becomes /uhcheal. All commands have tab completion to help with syntax
Scatter Players
/scatter
Starts an interactive scatter prompt that asks for the individual options
Related Permissions:
Permission | Default | Effect |
---|---|---|
UHC.scatter | op | Allows use of the command |
/scatter typeID yes/no radius[:mindist] world:[x,z] */player1 player2 player3
Scatters the players specified with the parameters specified
Param | Example | Effect |
---|---|---|
typeID | RandomCircle | The ID of the scatter type to use. RandomCircle scatters people within a circle, see scatter types for more info |
true/false | true | Whether to scatter people as teams or not |
radius[:mindist] | 1000:50 | Radius of the scatter with optional minimum distance between players |
world:[x,z] | publicuhc:100,200 | the world to scatter into with the optional centre coordinates (default is spawnpoint), example scatters into the world 'publicuhc' around 100,200 |
*/player1 player2 player3 | ghowden Loryen | * will scatter all online players, otherwise will scatter the list of players specified |
Related Permissions:
Permission | Default | Effect |
---|---|---|
UHC.scatter | op | Allows use of the command |
Scatter players using defaults
/scatter default
Scatters players using the defaults from the config file
Related Permissions:
Permission | Default | Effect |
---|---|---|
UHC.scatter | op | Allows use of the command |
List scatter types
/scatter types
Shows a list of the scatter types, by default the types are:
Type | Effect |
---|---|
RandomCircle | Random locations within the specified circle |
RandomSquare | Random location within a square of sides 2*radius centred on the centre coords |
EvenCircle | Locations evenly spread along the border of the circle, ignores mindist |
Related Permissions:
Permission | Default | Effect |
---|---|---|
UHC.scatter | op | Allows use of the command |
Heal Players
/heal [playerName/*]
Heals the player playerName to full health or all players if '*' is specified. If no name specified heals yourself
Related Permissions:
Permission | Default | Effect |
---|---|---|
UHC.heal.self | false | Allows just /heal to heal yourself |
UHC.heal.other | false | Allows /heal to heal any player |
UHC.heal.all | false | Allows /heal * to heal everyone |
UHC.heal.announce | false | Tells the player whenever a /heal command is used |
UHC.heal.* | op | Gives the player all above permissions |
Feed Players
/feed [playerName/*]
Heals the player playerName to full hunger or all players if '*' is specified. If no name specified feeds yourself
Related Permissions:
Permission | Default | Effect |
---|---|---|
UHC.feed.self | false | Allows just /feed to feed yourself |
UHC.feed.other | false | Allows /feed to feed any player |
UHC.feed.all | false | Allows /feed * to feed everyone |
UHC.feed.announce | false | Tells the player whenever a /feed command is used |
UHC.feed.* | op | Gives the player all above permissions |
Clear inventories
/ci [*/player1 player2 player3]
Clears the inventory of all the players specified or all playes if '*'. If no players specified clears your own inventory
Heals the player playerName to full health or all players if '*' is specified. If no name specified heals yourself
Related Permissions:
Permission | Default | Effect |
---|---|---|
UHC.ci.self | op | Allows you to use /ci to clear your own inventory |
UHC.ci.other | op | Allows youto use /ci */playername to clear other inventories |
UHC.ci.* | op | Gives above permissions |
UHC.ci.immune | false | Immune to /ci commands |
Generate borders
/generateborder radius world[:x,z] typeID[:blockid:meta]
Generates a border of the type/block specifed in the world specified. WorldEdit must be installed for this to work correctly.
Param | Example | Effect |
---|---|---|
radius | 1000 | The radius the border will generate at |
world[:x,z] | publicuhc:100,200 | The world and optional centre coordinates to generate at, example will generate in the world 'publicuhc' centred on 100,200 |
typeID[:blockid:meta] | Cylinder:1,0 | The border type (see border types for more info) and the option blockid/damage value to use, example creates a stone circular border, if no block id is specified uses the value from the config file |
Related Permissions:
Permission | Default | Effect |
---|---|---|
UHC.generateborder | op | Allows you to use border generation commands |
Undo border generation
/generateborder undo [world]
Undoes the last border generation for the world you are in or the world specified. Only keeps history until the server is reloaded/restarted. Requires WorldEdit to be installed to work.
Permission | Default | Effect |
---|---|---|
UHC.generateborder | op | Allows you to use border generation commands |
List border types
/generateborder types
Gives a list of available types of borders to create, current options are:
- Cylinder = creates a cylinder wall centered on the coordinates with the radius specified
- Square = creates a square wall centered on the coordinates with side length radius*2
- Roof = creates a circular 'roof' of blocks 1 thick at build height centered on the coordinates with the radius specified
NOTE: Border generation commands require WorldEdit to be installed
Permission | Default | Effect |
---|---|---|
UHC.generateborder | op | Allows you to use border generation commands |
Freeze Players
/freeze
Toggle 'freeze' status for all players. Freezing gives a player all the potion effects from the config file. Doing /freeze again unfreezes all players (takes a little bit for potions to wear off).
Permission | Default | Effect |
---|---|---|
UHC.freeze.command | op | Allows you to use /freeze |
UHC.freeze.antifreeze | false | Makes you immune to freeze effects |
TP all players
/tpp players playername OR /tpp players x,y,z[,worldname]
Will tp all of the specified players to a specific player or location given. Works across worlds.
Param | Example | Effect |
---|---|---|
players | * | TPs all players online |
players | ghowden Loryen | TPs the list of space separated players (Example will TP ghowden and Loryen |
playername | ghowden | The player to TP to, example TPs people to ghowden |
x,y,z[,worldname] | 0,100,0,publicuhc | The coordinates to TP to and the optional world name, if no world specified uses the world you are in. |
Permission | Default | Effect |
---|---|---|
UHC.tpall | op | Allows you to use /tpp commands |
List all features
/feature list
Lists all of the loaded features in the plugin and their statuses
Permission | Default | Effect |
---|---|---|
UHC.feature.list | true | Allows you to use list loaded features |
Toggle Features
/feature toggle feature_id
Toggles the state of the feature 'feature_id' (found with /feature list)
Param | Example | Effect |
---|---|---|
feature_id | PlayerList | Toggles the enabled state of the feature given, example will turn off the PlayerList feature if it is enabled, otherwise will turn it on |
Random Teams
/randomteams number_of_teams [worldname]
Put players randomly in the number of teams specified. People already in teams are ignored, use /emptyteams /clearteams or /leaveteam to remove people from teams if needed before random teaming. Uses the first empty UHCx team or creates a new UHCx team if none exists.
Param | Example | Effect |
---|---|---|
number_of_teams | 5 | The number of teams to put people into. Splits people evenly as possible in to the teams, must be less than the amount of people to put into teams |
[worldname] | publicuhc | Option world name, only people in this world will be put into teams |
Permission | Default | Effect |
---|---|---|
UHC.teams.random | op | Allows you to use /randomteams |
Clear Teams
/clearteams [all]
Clears all teams (removes the team and tells players they were removed from the team).
Param | Example | Effect |
---|---|---|
[all] | all | If the world 'all' is placed here it will clear all teams on the server otherwise will only clear UHCx teams |
Permission | Default | Effect |
---|---|---|
UHC.teams.clear | op | Allows you to use /clearteams |
Empty Teams
/emptyteams [all]
Empties all teams (removes all players from the team).
Param | Example | Effect |
---|---|---|
[all] | all | If the world 'all' is placed here it will empty all teams on the server otherwise will only clear UHCx teams |
Permission | Default | Effect |
---|---|---|
UHC.teams.empty | op | Allows you to use /emptyteams |
List Teams
/listteams [team_name]
Lists players in the team specified or in all if none specified
Param | Example | Effect |
---|---|---|
[team_name] | UHC0 | Option team to list, if not given will list all teams |
Permission | Default | Effect |
---|---|---|
UHC.teams.list | true | Allows you to use /listteams |
Join Team
/jointeam team_id [playername]
Makes the player join the team or yourself if no player specified
Param | Example | Effect |
---|---|---|
team_id | UHC0 | The name of the team to join (The ID of the team, not it's display name) |
[playername] | ghowden | Optional player to force to join the team, if not specified you join it yourself |
Permission | Default | Effect |
---|---|---|
UHC.teams.join.UHC | true | Allows you to join UHCx teams |
UHC.teams.join.all | true | Allows you to join any team |
UHC.teams.join.other | op | Allows you to use the playername parameter to force someone to join a team |
Leave Team
/leaveteam [playername]
Makes the player leave the team or yourself if no player specified
Param | Example | Effect |
---|---|---|
[playername] | ghowden | Optional player to force leave their team, if not specified you leave your own |
Permission | Default | Effect |
---|---|---|
UHC.teams.leave.self | true | Allows you to leave your team |
UHC.teams.leave.other | op | Allows you to use the playername parameter to remove someone else from a team |
Create Team
/createteam [team_id]
Creates the team with the ID given or a UHCx ID if none is supplied. Team will have a randomly generated name.
Param | Example | Effect |
---|---|---|
[team_id] | UHC9 | The option ID for the team to have |
Permission | Default | Effect |
---|---|---|
UHC.teams.create | op | Allows you to use /createteam |
Remove Team
/removeteam team_id
Removes the team with the ID
Param | Example | Effect |
---|---|---|
team_id | UHC9 | The ID for the team to remove |
Permission | Default | Effect |
---|---|---|
UHC.teams.remove.UHC | op | Allows you to use /removeteam on a UHCx team |
UHC.teams.remove.all | op | Allows you to remove any team |
Deathban Ban
/deathban ban playername time
Bans the player for the time specified.
Param | Example | Effect |
---|---|---|
playername | ghowden | The player to ban, doesn't have to be online |
time | 2h30m | The time to ban for in the format xdxhxmxs for days, hours, mins, seconds e.t.c. works for years/months/weeks too. Putting 'infinite' here will ban someone forever |
Permission | Default | Effect |
---|---|---|
UHC.deathban.ban | op | Allows you to use /deathban ban command |
Deathban Unban
/deathban unban playername
Removes all deathbans for the player specified.
Param | Example | Effect |
---|---|---|
playername | ghowden | The player to unban |
Permission | Default | Effect |
---|---|---|
UHC.deathban.unban | op | Allows you to use /deathban unban command |
Give Drops
/givedrops groupname */player1 player2 player3
Gives the items in the group 'groupname' to the players. The items are from the death drops configuration, it ignores all %chances given from the profile but adheres to the amount value supplied, all supplied items with the same group name will be given. Tries to give the player the item and if not enough space it will drop the item at their head height.
Param | Example | Effect |
---|---|---|
itemgroup | example1 | Will give the items called example1 in the config file from deathdrops |
*/player1 player2 player3 | ghowden Loryen | The players to give the items to, if * is specified gives to all players |
Permission | Default | Effect |
---|---|---|
UHC.givedrops | op | Allows you to use /givedrops command |
I write /scatterradius 1000 poop 100,200 but it doesnt work?
@Auralus
You might want to at least skim the documentation first. /scatterradius isn't a command. The command is:
/scatter radius[:mindist] worldname scattertype [x,z]
When you see brackets [ ] that means an optional argument. In this case the min distance doesn't need to be specified, and the spawn will be used if no coords are specified. You need to pick a scatter type. Your options are EvenCircle, RandomCircle, and RandomSquare. I assume the name of your world is poop, and that you want players scattered within a square. In which case you'd be using:
/scatter 1000 poop RandomSquare 100,200
I keep getting invalid syntax when I type in /generateborder 1000 world 2:0,0 Cylinder:7,0
@texasfs7
try renaming the world to world2 without a space. sometimes a space can mess up commands
@Auralus
/scatter RandomSquare yes 1000 world:0,0 *
this is what i use change the values as you see fit
Can you give an example of how to generate the border?
@TOXICxA55A55IN
/generateborder 1000 world:0:0 Cylinder:7:0
1000 = radius world = Worldname :0:0 = Coordinates it generates border from Cylinder = type of border :7 BlockID of border (7 = bedrock) :0 Meta, no idea but I have it as 0.
hey KiLlerWiLd are u still on UniversalBanList for reddit UHC
Hi i need help can one of you tell me the command to put in for generate border and scatter? for my border i want a 1000x1000 radius my worlds name is uhc and i want it around 0,0 i want it to be cylinder and the block to be bedrock. Can you also make me a scatter command based on my border. I want the scatter type to be EvenCircle THANKS GUYS. also when i do /generateborder 1000 uhc:0,0 Cylinder:7,0 it says unknown block id and meta, syntax