Difference between revisions of "Mir3DGMCommands" - LOMCN Wiki

Mu online season 21 - grand opening
Line 1: Line 1:
 
==Commands==
 
==Commands==
 
<table class="wikitable sortable">
 
<table class="wikitable sortable">
  <thead>
 
 
     <tr>
 
     <tr>
 
       <th data-sort-type="text">Type</th>
 
       <th data-sort-type="text">Type</th>
Line 8: Line 7:
 
       <th>Description</th>
 
       <th>Description</th>
 
     </tr>
 
     </tr>
  </thead>
 
  <tbody>
 
 
     <tr>
 
     <tr>
 
       <td>System</td>
 
       <td>System</td>
Line 430: Line 427:
 
       <td>Moves the target (online) character to a random map and a valid tile.</td>
 
       <td>Moves the target (online) character to a random map and a valid tile.</td>
 
     </tr>
 
     </tr>
  </tbody>
 
 
</table>
 
</table>
  
 
<div style="text-align:right;">[[Mir3DEmu|Back]]</div>
 
<div style="text-align:right;">[[Mir3DEmu|Back]]</div>

Revision as of 08:03, 13 September 2025

Commands

Type Command Parameters Description
System @AddCredit [UserName] [Amount] Adds the specified Amount of credit to the target character (offline or online).
Player @AddCredit [CharacterName] [Amount] Player-to-player ingot gift from the invoking player to target player [CharacterName].
System @AddDragonGuard [CharacterName] [DragonGuardianSlotIndex] [DragonGuardianTemplateID] Replaces/Removes the Dragon Guardian in the specified slot for the given (online) character.
System @AddGold [UserName] [Amount] Adds the specified Amount of gold coins to the target character's balance (offline or online).
System @AddIngot [UserName] [Amount] Adds the specified Amount of ingots to the character (offline or online).
System @AddInscription [UserName] [EquipmentSlot] [InscriptionID] [InscriptionSlot] Applies or replaces an inscription on the equipped item in [EquipSlot] for the (online) character.
Player @Admin [UserName] Grants administrator rights to the specified (online) character & Applies a large temporary stat boost.
System @BanAccount [AccountName] [BanDays] Bans a specified Account for a set period. If BanDays is omitted, the ban is permanent.
System @BanCharacter [CharacterName] [BanDays] Bans a specified Character for a set period. If BanDays is omitted, the ban is permanent.
System @BanIP [IP] [BanDays] Bans a specified IP for a set period. If BanDays is omitted, the ban is permanent.
System @BanMac [MacAddress] [BanDays] Bans a specified MAC for a set period. If BanDays is omitted, the ban is permanent.
System @Broadcast [Message] Sends a global announcement to all (online) players.
System @CharacterTransfer [CharacterName] [NewCharacterName] Transfers an existing character to another account.
Online @ClearBag [CharacterName] Clears the target (online) character’s inventory: Backpack (Grid=1) and ResourcePack (Grid=7).
System @DBInfo Emits a summary of all loaded data tables to the command log.
Merchant @Dispatch [UserName] [Quantity] Transfers <Amount> ingots from the invoking merchant to the target player/account.
System @DropRate [Multiplier] Sets the global extra drop-rate bonus to Multiplier (valid range: 0 ≤ m < 1).
System @EndShabak Schedules Shabak siege to end in 2 seconds and announces it server-wide.
System @ExpRate [Multiplier] Sets the global monster experience rate to Multiplier (0 < m ≤ 1,000,000).
System @GMCommands Lists all supported GM commands.
System @Give [CharacterName] [ItemName] Adds a single item to the target character’s backpack.
System @GiveAllIngots [Quantity] Grants every (online) player the specified Quantity of ingots.
System @GiveBuff [CharacterName] [BuffID] Applies the specified BuffID to the target (online) character.
System @GiveItem [CharacterName] [ItemName] [Quantity] [BindItem] Give a specified player an item. BindItem = true (bound) or false (unbound). If omitted, it defaults to false.
System @GiveSkill [CharacterName] [SkillID] Teaches the specified skill to the target (online) character.
Online @GotoPlayer [CharacterName] Teleports the invoking GM to the target player’s current map and position.
Online @Kill [CharacterName] Kills the specified (online) player, If omitted: kills all killable entities on the tile directly in front of the GM (excludes item drops).
System @Level [CharacterName] [Level] Sets the specified (online) player's level to Level.
Player @Locate [CharacterName] Shows the target player’s current map and coordinates (requires Probe Necklace).
Online @Make [ItemNameOrId] [Quantity] Adds item(s) to the GM’s backpack. Stacking: one stack of [Quantity] (default 1), single slot. Non-stacking: [Quantity] copies (default 1), needs that many slots.
System @Mob [MonsterName] [MapID] [X] [Y] Spawns a single monster at tile (X, Y) on the specified map.
Online @mob [Name] [Quantity] Spawns entities one tile in front of the GM. Quantity is optional (default 1).
Online @Observer Toggles invisibility (StealthMode) for the invoking GM.
Online @Online [CharacterName] Shows the total number of currently logged-in connections. If a CharacterName is provided and exists, shows that character’s Level, Gold, and Ingots.
System @OrganiseDB ReIndex/Compact database IDs via GameDataManager.OrganiseData(save:true).
Player @PetLoot [Enabled] Player command to toggle auto-loot pet (0=off, 1=on)
Player @PetMining [Enable] Toggles the auto-mining pet for the invoking player (0 = off, 1 = on).
Player @PrayerSacrifice If the player has the full Prayer set (含有祈祷套装), triggers a global pet mutiny timer and shatters ALL equipped gear.
System @PurgeCharacters [RestrictedLevel] [RestrictedDays] Permanently deletes characters below the given level that haven't logged in within the given day count.
System @RNGTest [CharacterName] Performs 10 RNG rolls over 无相鉴定 using each entry’s 刷新几率; logs the selected entry’s ID/name each roll (also logs sample parsed packet values).
Player @RecallGroup If the player wears the full Memory set (含有记忆套装), recalls all online teammates to the player’s location.
Online @RecallUser [CharacterName] Teleports the target (online) character to the GM’s current map and position.
System @RefineDragonGuard [DragonGuardID] [Quality] [CharacterName] Refines a player’s Dragon Guard to the specified ID and quality (character must be online); on success, awakens it and logs the action.
System @ReloadLua Reloads all Lua scripts located in Database\System\lua.
System @ReloadMonsters Reloads all monster drop data.
System @ReloadTemplate [TemplateID] Reloads a single data template by numeric ID via TemplateID
System @RemoveBuff [CharacterName] [BuffID] Removes the specified buff from the named (online) player.
System @RemoveGold [CharacterName] [Amount] Deducts gold coins from the named character (offline or online).
System @RemoveIngot [CharacterName] [Amount] Deducts ingots from the named character (offline or online).
System @RenameCharacter [CharacterName] [NewCharacterName] Renames an (offline) character and updates the character index.
System @ResetBattlePass Resets battle pass state for all characters (progress/rewards/purchase flags & counts).
System @RestoreCharacter [CharacterName] Restores a character that is marked deleted (in the account DeleteList). Requirements: account is offline and has fewer than 4 active characters.
System @RewardMailAll [ItemID] [ItemQuantity] [MailTitle] [MailContent] [MinLevel] [MinPrivilege] Sends a mail with an attached item to all characters who meet the minimum level and privilege.
System @SaveDB Forces an immediate save of all game data and then exports it.
System @SetMaxLevel [Level] Raises the server's maximum player level to new Level.
System @SetNewbieLevel [Level] Sets the server's "newbie support" level threshold.
System @SetVIP [CharacterName] PrivilegeType] Sets the current period privilege (VIP/Privilege) for the specified character.
Player @vip [CharacterName] [VIPLevel] Sets the target character’s VIP level (byte: 0–255).
Online @SpawnDummy Spawns an AI-controlled dummy player next to the GM
System @SpawnOfflinePlayers [CharacterName] Spawns AI instances for all offline, non-admin characters with level ≥ 30.
System @StartShabak Start Shabak siege: populate attacker guilds, set capture/end timers (10m/120m), reset flag/gates, broadcast notice.
Online @Teleport [X] [Y] Teleports the invoking GM to tile (X,Y) on the current map.
Player @Teleport [X] [Y] Teleports the invoking player to tile (X,Y) on their current map.
System @UnbanAccount [AccountName] Clears the account's BlockDate (immediately lifting any ban).
System @UnbanCharacter [CharacterName] Clears the character's BlockDate (immediately lifting any ban).
System @UnbanIP [TargetIP] Removes a ban entry matching the given Address from either the IP ban list or the NIC(MAC) ban list.
Online @Invincible Toggles invincibility for the invoking GM.
Player @MobRandom Spawns a random monster one tile in front of the invoking GM.
Online @Move [CharacterName] [MapID] [X] [Y] Moves the target (online) character to the specified map.
Online @MoveRandom [CharacterName] Moves the target (online) character to a random map and a valid tile.