LOAD(Builder)

From CoffeeMud Wiki
Jump to navigation Jump to search
CoffeeMUD
Administrator                                                  Builder                                                              Player
=CoffeeMUD Builder Information=
Basics Praetor     Player Support     Commands     Zapper Masks Advanced Races     Classes     Abilities     Socials     Scripting    
Building Behaviors     Properties     Areas     Rooms     Exits     Items     Mobs Systems Achievements     Crafting     Help Info     Ships     Planes of Existence     Quests     Triumphs    
===LOAD===
Usage: LOAD [OBJECT TYPE] [PATH/NAME]
Examples: load resource banned.ini

load ability /myclasses/blah.class

load weapon /myclasses/blah2.class

load class com.planet_ink.coffee_mud.Items.Weapons.Sword.class

load weapon com/planet_ink/coffee_mud/Items/Weapons/Sword.java

Shorts:
Description: A command for the loading of resources, faction ini files, unloaded areas, or class files of java or javascript.

Use LIST RESOURCES to see a list of resources.

Use LOAD AREA area name re-load areas in the database that have been unloaded.

For class files, the LIST command can also show whats already loaded. This command will automatically attempt to unload a class if it is already loaded. If the specified class is a java source file or javascript, it will attempt to compile it first. For loading classes, the second parameter may be the word "class" and the system will attempt to correct your ambiguity. If it is unable to determine the type of class being loaded, however, you may get an error. It is therefore better just to use the load [CLASS-TYPE] syntax instead.

Notes

  • If you are holding a ranged weapon that accepts ammo, you will probably get errors trying to use this command (it will try unsuccessfully to load your ranged weapon with your LOAD parameters).