5 A DevCmd Primer
sxshenyan edited this page 3 years ago

DevCmds are available only to accounts with status = "ADMIN" set in the obj_account table. For a majority of these commands the selected target matters.

MagicBox Dev Commands

./AddBuilding (BuildingID) (Rank)
example: ./AddBuilding 601 1 ( i test its not a building!!!)
adds a r1 forge to players location


./AddGold (AMOUNT)
exmaple: ./AddGold 100000
Adds 100000 gold to players inventory


./AddMob (ID)
example: ./AddMob 13672
adds the mob with ID 13672 to the players position


./AddNPC (ID)
example: ./NPC 885 20 jackerslowerfuck
Adds NPc level 20 with ID 885 to players location


./ApplyStatMod (TYPE) (AMOUNT)
exmaple: ./ApplyStatMod all 999
applies 999 buffs to the player


./Bounds
example: ./Bounds
displays the bounds of the zone


./ChangeName (NAME)
exmaple: ./ChangeName MagicBot
Changes the name of the selected target to "MagicBot"


./GetBank
exmaple: ./GetBank
displays the contentsof the selected players bank


./GetVault
exmaple: ./GetVault
displays the contentsof the selected players vault


./GotoObj (ID)
exmaple: GotoObj 364
teleports player to object with ID 364


./MakeItem (ITEMID) (PREFIXID) (SUFFIXID)
exmaple: ./MakeItem 736 PRE-459 SUF-773
creates item base 736 with prefix 459 and suffix 773


./PrintBonuses
example: ./PrintBonuses
prinst the bonuses of selected player


./PrintEquip
exmaple: ./PrintEquip
prints the selected characters equipped items


./PrintInventory
example: ./PrintInventory
prints the inventory of the selected character


./PrintLocation
example: ./PrintLocation
prints the location of the selected character


./PrintPowers
exmaple: ./PrintPowers
prints the powers of the selected character


./PrintResists
example: ./PrintResists
prints the resists of the selected character


./PrintSkills
example: ./PrintSkills
prints the skills of the selected character


./PrintStats
exmaple: ./PrintStats
prints the stats of the selected character


./Pull
exmaple: ./Pull
pulls the selected object to your location


./Reboot
example: ./Reboot
reboots the server


./RemoveBane
example: ./RemoveBane
removes the selected banestone


./Rotate (DEGREE)
exmaple: ./Rotate 90
sets the rotation of the selected building to 90


./SetActiveMine (TRUE/FALSE)
example: ./SetActiveMine true
sets the selected mine to be active


./SetAdminRune (ID)
exmaple: ./SetAdminRune 2020
sets the selected characters admin status to that of 2020


./SetBaneActive (TRUE/FALSE)
exmaple: ./SetBaneActive true
sets the selected banestone to be active


./SetLevel (AMOUNT)
exmaple: ./SetLevel 10
sets the selected characters levelk to 10


./SetHealth (AMOUNT)
exmaple: ./SetHealth 100
sets teh selected characters health to 100


./SetMAna (AMOUNT)
exmaple: ./SetMana 100
sets teh selected characters manato 100


./SetStamina (AMOUNT)
exmaple: ./SetStamina 100
sets teh selected characters stamina to 100


./TeleportMode (ON/OFF)
exmaple: ./teleportmode on
turns on teleporting instead of running to destinations