Skip to content

Commands

GamerMedic edited this page Oct 25, 2021 · 15 revisions

Commands

UndeadPandemic:Reload

/undeadpandemic reload and /undeadpandemicreload will reload the UndeadPandemic config.yml file.

UndeadPandemic:Give

The /undeadpandemic give command is used to give weapons and ammo to players.

Use /undeadpandemic give weapon to give weapons, and use /undeadpandemic give ammo to give ammo to players.

The default weapon types are:

  • 99P
  • AK-47
  • Barcine
  • MK31
  • Nuck
  • Revolver

The default ammo types are:

  • Pistol
  • Revolver
  • Rifle
  • Shotgun
  • Sniper

The tab complete will autofill with the weapons and ammo listed in the config file.

You must specify the target player. Online players will appear in the auto-tab complete list when writing the command. After specifying the weapon/ammo type, you must provide the amount.

Case Uses

Examples

/undeadpandemic give SteveZR963 weapon 99P 1

/undeadpandemic give SteveZR963 ammo Pistol 10

Custom Weapons

With the way that the plugin works, it's possible that you may be able to create custom weapons. However, this feature has not been tested and so if you attempt this and it creates an error, then you will not receive support because it is not a recognised feature. However, if you add a suggestion on the UndeadPandemic Discord then it may be tested and become a recognised feature.

UndeadPandemic:KeyCard

The KeyCard command will craft a keycard to open a door at a specified location.

KeyCard:Cut

Cut is the subcommand to craft a key card. You must then specify the XYZ co-ordinates of the door that the key card will open.

If the X, Y, or Z co-ordinates are missing, the command will not work.

You can also opt to add a description to the key card, which will be added to the lore of the key card. The description can be added on the end of the command and is limited to 128 characters per line, and is limited to 3 lines.

Add a space between words by using an underscore ( _ ). You can create a new line using a pipe ( | ).

You must specify the permanence criteria (true|false) and quantity required.

Specifying 'false' on the permanence variable will mean that the key card will be 'used', in other words, removed from the player's inventory on use.

Usual Minecraft Text Formatting is SUPPORTED.

Use Cases

Examples

/undeadpandemic keycard cut 100 64 200 Key_Card_Description_Line false 1

SafeZone

The SafeZone command is used to manage player safe zones. Players can create a SafeZone by standing in the area where they would like to create their safe zone.

SafeZone:Build

The SafeZone build command will create a safe zone for the player by creating a WorldGuard region on the chunk where the player is standing when this command is used.

Case Uses

Examples

/safezone build

SafeZone:Destroy

The destroy command is used to delete the player's safe zone.

The player simply needs to stand in the chunk where their safe zone was created and use this command.

Case Uses

Examples

/safezone destroy

SafeZone:Info

The info command is used as a textual check that shows the player how many plots they have remaining to create their safe zone.

Case Uses

Examples

/safezone info

SafeZone:Destroy

The destroy command is used to delete the player's safe zone.

The player simply needs to stand in the chunk where their safe zone was created and use this command.

Case Uses

Examples

/safezone destroy

SafeZone:Plots

The plots command is used to give plots to players, and to take plots from players.

Just specify which action you want to perform (give|take), the player that you want the action to affect, and the number of plots that you'd like to give or take.

Case Uses

Examples

/safezone plots give SteveZR963 5

/safezone plots take SteveZR963 5