Commands

Commands

There are currently two types of commands. Ones that edit the mob (much more complicated) and ones that spawn the mobs by command instead of naturally.

Spawning Commands

The commands are as follows:

/CustomSkeleton spawns your custom skeleton editable in the config file.

/CustomZombie spawns your custom zombie editable in the config file.

/CustomSpider spawns your custom spider editable in the config file.

/CustomSlime spawns your custom slime editable in the config file.

/CustomMagmaCube spawns your custom magma cube editable in the config file.

/CustomGhast spawns your custom ghost editable in the config file.

/CustomCreeper spawns your custom creeper editable in the config file.

/CustomCaveSpider spawns your custom cave spider editable in the config file.

/CustomBlaze spawns your custom blaze editable in the config file.

Spawning Permissions

To use the command “/Custom<mobtype>”, you need the respective permission “CustomMobs.<mobtype>”.

For example:

For the command “/CustomBlaze” you need the permission “CustomMobs.blaze”

Editing Commands

I HIGHLY SUGGEST YOU READ HERE FIRST ABOUT WHAT ALL OF THIS MEANS AND HOW TO USE IT BEFORE LEARNING HOW TO CHANGE IT IN GAME!

For editing mobs there are a variety of commands. The commands are as follows:

For editing Traits of Mobs:

/myom <MobType> <Trait you want to edit> <what you want previous thing to be set to>

For example, to edit Custom Creepers to make the be supercharged you would use:

/myom Creeper supercharged true

Notice how supercharged is in lowercase! And you HAVE TO capitalize the name of the Mob!

The following WILL NOT WORK:

/myom creeper Supercharged true

If you want to change the spawn rate of Skeletons, you would use:

/myom Skeleton spawnrate 10

You can set all mob traits except alertplayersmessage this way!

If you type something wrong you will get an error message, it will not let you set a option to something it cannot be!

For editing drops:

For editing drops it varies a tiny bit, you must use the command:

/myom CustomDeath SkeletonDeath ExpAmountDropped 10

The above command would set a skeleton to drop 10 exp on death!

Notice how SkeletonDeath is capitalized at the beginning of the word and so is CustomDeath! This is very important!

Capitalization matters!

For setting the drops of a mob you would use something on the lines of:

/myom CustomDeath ZombieDeath itemdrops1 300

300 is the item id of the item you want to be dropped from the mob.

To set whether or not to use the deaths of a mob you would use something like:

/myom CustomDeath BlazeDeathUse <true/false>

For editing Generic traits and spawning:

To change whether or not you want a mob to be able to be spawned by command you would use:

/myom <Mobtype>Command <true/false>

For example, the following would set a skeleton to be able to be spawned by command:

/myom SkeletonCommand true

Notice again how Skeleton and Command are capital and true is lowercase, this is extremely case sensitive!

For setting whether or not something will spawn natural you can use:

/myom <Mobtype>SpawnNatural <true/false>

For example, the following command would set a Spider to not spawn naturally:

/myom SpiderSpawnNatural false

As well, for setting whether or not to spawn by eggs, you would use the following:

/myom SpawnByEgg false

Not to mention, for setting each individual mob to spawn or not by eggs, you would use the following (with the respective mob type name, for this example I use skeleton)

/myom SkeletonSpawnEgg true

Lastly, To set something such as UseCustomDamage you would use:

/myom UseCustomDamage <true/false>

or for using CustomDeaths you would use:

/myom UseCustomDeaths <true/false>

If you wanted to set a mob to alert players on death or not you would use:

/myom CustomDeath <Mobname>Death alertplayersondeath true

For example, for a spider, to turn it off you would use:

/myom CustomDeath SpiderDeath alertplayersondeath false

YOU CAN NOT CURRENTLY EDIT POTION EFFECTS WITH IN-GAME COMMANDS.

Editing Permission

The permission to use all of the above commands is "CustomMobs.Edit"


Comments

Posts Quoted:
Reply
Clear All Quotes