Skip to content

Commands

UltimaOath edited this page Apr 3, 2024 · 20 revisions
This page was last updated for LevelledMobs 3.14.0 b815

The following commands are available for LevelledMobs purposed for administrators to manage the plugin and existing levelled mobs in your worlds.


To view the permissions in more depth, please see the Permissions page of this wiki.

  • /levelledmobs
    • Base command of the plugin. Running it without supplying any arguments will return a list of commands you can use.
    • Requires permission levelledmobs.command

/levelledmobs rules

  • force_all - forces all mobs to be reevaluated by LevelledMobs
  • help_discord - shows the link to join Arcane Plugins Discord
  • help_wiki - shows the link for this wiki
  • reset <options> - resets the rules.yml with the predefined default difficulty challenges
  • show_all - shows all rules as configured in rules.yml
  • show_effective - shows current rules applicable to the mob closest to you
  • show_rule <name> - shows the specified rule

/levelledmobs spawner

  • /levelledmobs spawner create

    • Creates a spawner in your inventory that will only spawn mobs within the specified min and max range. You'll need to place an egg of the mob you want the spawner to use if you don't specify spawntype in the arguments below.
    • Arguments. Use any combination of the following arguments. Most are optional:
      • /minlevel <number> - mobs will be spawned with this level as the minimum
      • /maxlevel <number> - mobs will be spawned with this level as the maximum
      • /name <name> - gives the spawner the specified custom name
      • /lore <lore> - sets the specified lore. use \n for multiple lines
      • /nolore - removes the default lore
      • /customdropid <id> - will use the specified droptableid in customdrops.yml for any mobs spawned from this spawner
      • /spawntype <type> - sets the spawner's creature type.
      • /delay <number> - sets the spawner's delay
      • /maxnearbyentities <number> - sets the maximum number of similar entities that are allowed to be within spawning range of this spawner
      • /minspawndelay <number> - sets the minimum spawn delay amount (in ticks)
      • /maxspawndelay <number> - sets the maximum spawn delay amount (in ticks)
      • /requiredplayerrange <number> - sets the maximum distance (squared) a player can be in order for this spawner to be active
      • /spawncount <number> - sets how many mobs attempt to spawn
      • /spawnrange <number> - set the new spawn range
      • /giveplayer <player> - gives the spawner to the specified player
  • /levelledmobs spawner info - shows you information about LM spawners by right-clicking on them

    • run without arguments to show if it is enabled or not.
    • on - enables spawner info mode
    • off - disables spawner info mode
  • /levelledmobs spawner copy - allows you to duplicate a LM spawner by right-clicking on it

    • run without arguments to show if it is enabled or not.
    • on - enables spawner copy mode
    • off - disables spawner copy mode

/levelledmobs eggs

  • Arguments. minlevel, maxlevel and spawntype are required. The rest are optional.
    • /minlevel <number> - mobs will be spawned with this level as the minimum
    • /maxlevel <number> - mobs will be spawned with this level as the maximum
    • /name <name> - gives the spawner the specified custom name
    • /lore <lore> - sets the specified lore. use \n for multiple lines
    • /nolore - removes the default lore
    • /customdropid <id> - will use the specified droptableid in customdrops.yml for any mobs spawned from this spawner
    • /spawntype <type> - sets the spawner's creature type.
    • /giveplayer <player> - gives the spawner to the specified player

/levelledmobs summon

  • Similar to Minecraft's /summon command, this spawns in a levelled mob of your specification. For example, you can spawn a Level 1 Zombie at Notch's location, or 5 blocks above your head.
  • Requires permissions levelledmobs.command and levelledmobs.command.summon
  • Usages (self-explanatory)
    • /levelledmobs summon <amount> <entity> <level> here
    • /levelledmobs summon <amount> <entity> <level> atPlayer <player>
    • /levelledmobs summon <amount> <entity> <level> atLocation <x> <y> <z> [world]

/levelledmobs kill

  • Similar to Essentials' /killall command, this kills only levelled mobs nearby or all in the world of your specification.
  • Requires permissions levelledmobs.command and levelledmobs.command.kill, plus an extra permission for each subcommand found below in the Usages section.
  • Usages:
    • /levelledmobs kill all [world/*]
      • This kills all levelled mobs in the sender's world or the specified world. If the * character is specified in the world argument, then it will kill all levelled mobs in all worlds loaded on the server.
      • Requires additional permission levelledmobs.command.kill.all
    • /levelledmobs kill near <radius>
      • This kills all levelled mobs within the radius of the sender.
      • Requires additional permission levelledmobs.command.kill.near

/levelledmobs reload

  • Similar to a lot of plugins' reload subcommands, this simply reloads the configuration files from the disk to apply its changes without having to restart your server.
  • Requires permissions levelledmobs.command and levelledmobs.command.reload

/levelledmobs debug

  • This initiates the Debug branch of LevelledMobs.
    • chunk-kill-count reset - this will reset the chunk-kill-max counts to zero
    • create-zip - this will initiate the debug zip folder creation
    • lew-clear - this will clear all LivingEntityWrappers (LEW) in memory
    • lew-debug - this will display information associated with LivingEntityWrappers (LEW) in memory
    • mylocation - this will provide exact coordinates for the player
    • nbt-dump - this will output any nbt data associated with the item in the players hand
    • show-customdrops - this will output all registered custom-drop items
    • spawn-distance - this will output the current distance the player is from spawn
  • The following commands are part of the larger debug assessment and filtering system:
    • disable - this will disable the output of the debug system
    • enable - this will enable the output of the debug system according to established filters
    • enable-all - this will enable the output of the debug system disregarding established filters
    • enable-timer X - where X is an amount of time, this enables the debug system, matching filters, for a set amount of time
    • view-debug-status - this will display the enabled or disable status of the debug system, alongside any applied filters or time remaining
    • output-debug - this will initiate the debug output selection
      • to-console - this will output all debug messages into the console
      • to-chat - this will output all debug messages into in-game chat
      • to-both - this will output all debug messages into both console and the in-game chat
    • filter-results - this will initiate the debug filters for the system
      • clear-all filters - this will clear any currently applied filters
      • set-distance-from-players - this will set the distance measured in blocks from the player(s) where debug will listen for events
      • listen-for - this will initiate the debug listener selection
        • failure - this will listen for any failed processing of selected debug events
        • success - this will listen for any successful processing of selected debug events
        • both - this will listen to failed or successful processing of selected debug events
      • set-debug - this will initiate the selection of debug flags section
        • add X - this will add the selected (X) option to the set-debug filter
        • remove X - this will remove the selected (X) option from the set-debug filter
        • clear - this will clear the set-debug filter
          • Click for all set-debug options- `apply_level_result` - When a level is applied
            - `apply_multipliers` - When multipliers are applied
            - `chunk_kill_count` - When the chunk kill max system activates
            - `condition_biome_list` - When a biome condition is checked
            - `condition_chance` - When a chance condition is checked
            - `condition_custom_name` - When a custom name condition is checked
            - `condition_entities_list` - When a entities condition is checked
            - `condition_max_spawn_distance` - When a max spawn distance condition is checked
            - `condition_maxlevel` - When a max-level condition is checked
            - `condition_min_spawn_distance` - When a min spawn distance condition is checked
            - `condition_minlevel` - When a min-level condition is checked
            - `condition_mythicmobs_internal_name` - When a mythicmob internal name condition is checked
            - `condition_permission` - When a permission condition is checked
            - `condition_plugin_compat` - When a 3rd party plugin condition is checked
            - `condition_spawn_reason` - When a spawn reason condition is checked
            - `condition_spawner_name` - When a LM-Spawner cube name condition is checked
            - `condition_wg_region` - When a WorldGuard region condition is checked
            - `condition_wg_region_owner` - When a WorldGuard region owner condition is checked
            - `condition_with_coordinates` - When a within-coordinate condition is checked
            - `condition_world_list` - When a world condition is checked
            - `condition_world_time_tick` - When a in-game-world-time condition is checked
            - `condition_y_level` - When a y-height condition is checked
            - `creeper_blast_radius` - When a creeper's blast radius is modified
            - `custom_commands` - When a custom-command from CustomDrops is processed
            - `custom_drops` - When a custom-drop from CustomDrops is processed
            - `custom_equips` - When a custom-drop from CustomDrops is equipped to an entity
            - `developer_lew_cache` - When the LivingEntityWrapper (LEW) is processing
            - `entity_misc` - When a levelled entity transforms (villager to zombie-villager) or ages (baby zombie into adult zombie)
            - `entity_spawn` - When an entity spawns and is recognized by LM
            - `entity_tame` - When an entity is tamed
            - `group_limits` - When a group-limit applies to CustomDrops being processed
            - `lm_mob_spawner` - When an entity spawns from a LM-Spawner cube
            - `mob_groups` - When an entity blongs to a custom mob-group
            - `mob_hash` - When an entities rules-hash is processed
            - `nbt_application` - When NBT-Data was processed with NBT-API
            - `pl_update_nametag` - When ProtocolLib updates a mob nametag (MC 1.16 only)
            - `player_levelling` - When the Player Level Modifier processes
            - `ranged_damage_modification` - When the ranged-attack-dammage of a mob was processed
            - `removed_multipliers` - When multipliers are removed
            - `scoreboard_tags` - When a minecraft scoreboard condition is checked
            - `set_levelled_item_drops` - When LM processes adjustments to item-drops
            - `set_levelled_xp_drops` - When LM processes adjustments to xp-drops
            - `setting_cooldown` - When a cooldown condition is checked
            - `setting_stop_processing` - When LM is instructed to stop-processing via custom-rule
            - `skylight_level` - When a skylight condition is checked
            - `thread_locks` - Outputs internal thread-lock information
      • set-entities - this will initiate the selection of the entity flags section
        • add X - this will add the selected (X) entity to the set-entity filter
        • remove X - this will remove the selected (X) entity from the set-entity filter
        • clear - this will clear the set-entity filter
          • Click for all set-entity options- `Direct Link to Javadocs` - This link will provide all possible EntityTypes associated with this filter. This system is designed to only work on mob-like entities (no paintings, text_display, etc.)
      • set-players - this will initiate the selection of players around which debug results are collected
        • add X - this will add the selected (X) player to the set-players filter
        • remove X - this will remove the selected (X) player from the set-players filter
        • clear - this will clear all players from the set-players filter
      • set-rules - this will initiate the selection of any rules-based flags section
        • add X - this will add the selected (X) rule-check to the set-rules filter
        • remove X - this will remove the selected (X) rule-check from the set-rules filter
        • clear - this will clear all rules from the set-rules filter
      • set-y-height - this will initiate the min and max y-height condition filter section
        • max-y-height - this will limit all debug queries to a maximum y-height
        • min-y-height - this will limit all debug queries to a minimum y-height
        • clear - this will clear the min and max y-height condition filter

/levelledmobs info

  • This subcommand prints information about the version of the plugin installed, including its name, version, author, description, list of supported Minecraft versions and the great code contributors that also made this plugin possible.

/levelledmobs compatibility

  • This subcommand runs the compatibility checker. Simply check the console logs to see if your server may be missing significant features or running an unsupported configuration.
  • Requires permissions levelledmobs.command and levelledmobs.command.compatibility
Clone this wiki locally