User Tools

Site Tools


reference:server_commands:full_command_list

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
reference:server_commands:full_command_list [2012/04/07 19:01] mitreference:server_commands:full_command_list [2025/05/28 16:35] (current) – external edit 127.0.0.1
Line 3: Line 3:
 Here is the full list of currently supported server commands, which are used by typing ''*'' then the command name, either in-game or from a script. Here is the full list of currently supported server commands, which are used by typing ''*'' then the command name, either in-game or from a script.
  
 +==== Commands A -> H ====
 +
 +**activatescreen** ... ''*activatescreen [PLAYER_NAME] [SCREEN_NUM]'' \\
 +Activates a particular screen for the specified player. Current screen nums are : 1 - Raw settings, 2 - Settings editor, 3 - Crow settings, 4 - Vehicle settings, 5- World Editor, 6 - Online Help, 7 - World Map, 8 - Subgame settings, 9 - Landscape settings, 10 - Graphic Settings, 11 - Island Info (Data/Text/Background.txt), 12 - Newspaper \\
 **addbackgroundmodel **  ... ''*addbackgroundmodel [MODELNUM],[MapX],[MapY],[ROTATION]''\\ **addbackgroundmodel **  ... ''*addbackgroundmodel [MODELNUM],[MapX],[MapY],[ROTATION]''\\
  Adds a background model to the map and broadcast the new model to all players.\\  Adds a background model to the map and broadcast the new model to all players.\\
-**addbuilding** ... ''*addbuilding [BUILDING_TYPE],[MapX],[MapY],"Building Name"'' \\+**addbuilding** ... ''*addbuilding [BUILDING_TYPE],[OWNER_ID],[MapX],[MapY],"Building Name",( [ConstructionMaterials1], [ConstructionMaterials2] )'' \\
  Adds a new building to the map and broadcasts the details to all players. \\  Adds a new building to the map and broadcasts the details to all players. \\
 +**addbuildingtoworld** ... ''*addbuildingtoworld [BUILDING_TYPE],[OWNER_ID],[WorldX],[WorldY],"Building Name",( [ConstructionMaterials1], [ConstructionMaterials2] )'' \\
 +Same as addbuilding but using world coordinates instead of map coordinates \\
 +**addbuildzone** ... ''*addbuildzone [ZONE_NUM],[X1],[Y1],[X2],[Y2]'' \\
 +Adds a BuildZone (used to restrict the placement of buildings into certain parts of the map) \\
 +**addemployee** ... ''*addemployee <BUILDING_NUM> <NAME>''\\
 +Adds an employee to the building \\
 +**addsafezone** .. ''*addsafezone [ZONE_NUM],[X1],[Y1],[X2],[Y2]'' \\
 +Adds a safe zone to the map \\
 +**addskill** .. ''*addskill [PLAYER] [SKILL_NUM] [DAYS_TO_LEARN]'' \\
 +Adds a skill to the player \\
 +**addspawnzone** .. ''*addspawnzone [ZONE_NUM],[X1],[Y1],[X2],[Y2]'' \\
 +Adds a spawn zone to the map \\
 **addstarport** \\ **addstarport** \\
  Adds a special 'starport' building at your current location \\  Adds a special 'starport' building at your current location \\
 +**addstaticeffect** ... ''*addstaticeffect [EFFECT_NUM],[WorldX],[WorldY]]'' \\
 +Adds a static effect (such as a column of smoke, fire etc) to the world \\
 +**addtoinvestment** ... ''*addtoinvestment [buildingID] [amount]''\\
 +Adds a cash amount to the building's investment \\
 +**addtostocks** ... ''*addtostocks [buildingID],[quantity],[item name]''\\
 +Adds the item to the building stocks \\
 +**addtree** ... ''*addtree Num,worldX,worldY'' \\
 +Adds a single tree to the map. \\
 **advancedate** ''*advancedate [NUM_DAYS]'' \\ **advancedate** ''*advancedate [NUM_DAYS]'' \\
  Used to change the current game-date. Negative numbers can be used to go back in time. \\  Used to change the current game-date. Negative numbers can be used to go back in time. \\
 +**alert**  ... ''*alert [PLAYER_NAME] [TEXT]''\\
 +Sends a text message to the named player and triggers a little 'alert' sound effect \\
 +**announce**  ... ''*announce [TEXT]''\\
 +Sends a text message to all connected players and triggers a little 'alert' sound effect \\
 **attach**  ... ''*attach [PLAYER_NAME]''\\ **attach**  ... ''*attach [PLAYER_NAME]''\\
  Relocates you near to the position of the named player \\  Relocates you near to the position of the named player \\
Line 23: Line 51:
 **battlestatus** \\ **battlestatus** \\
  Prints details of all the battles currently in progress on the world.\\  Prints details of all the battles currently in progress on the world.\\
 +**bgmodel** ... ''*bgmodel [PLAYER_NAME] [MODEL_NUM]'' \\
 + Triggers the placement of a new background model for the named player.\\
 +**bonusweapon** ... ''*bonusweapon [PLAYER_NAME] [WEAPON_NUM] [AMMO_COUNT]'' \\
 +Gives the player a weapon overriding their vehicle's normal one. If ammo count is not included the player keeps the bonus weapon until they relog \\
 +**bonusweaponsecondary** ... ''*bonusweaponsecondary [PLAYER_NAME] [WEAPON_NUM] [AMMO_COUNT]'' \\
 +As above but applies to the player's secondary weapon slot \\
 **bring**  ... ''*bring [PLAYER_NAME]''\\ **bring**  ... ''*bring [PLAYER_NAME]''\\
  Relocates the named player near to you \\  Relocates the named player near to you \\
 **buildetails** \\ **buildetails** \\
  Prints details of the nearest building \\  Prints details of the nearest building \\
 +**buildingconnector** ... ''*buildingconnector [mode],[building_num1],[building_num2],[height]'' \\
 +Adds a special effect connecting the two buildings specified \\
 +**buildingconstruct** .. ''*buildingconstruct [PLAYERNAME] [BuildingCode]'' \\
 +Activates the building construction UI allowing the player to place the building \\
 **buildinglimits** \\ **buildinglimits** \\
  Prints a message indicating the limits for building on this world (e.g. max number of buildings you can own) \\  Prints a message indicating the limits for building on this world (e.g. max number of buildings you can own) \\
 +**buildingmaxemployed** ... ''*buildingmaxemployed [BUILDING_NUM] [VALUE 0 - 16]''\\
 +Sets the upper limit for number of employees allowed in this building \\
 **buildingparam** ... ''*buildingparam [BUILDING_RECORDNUM] [PARAM_VALUE 0-255]''\\ **buildingparam** ... ''*buildingparam [BUILDING_RECORDNUM] [PARAM_VALUE 0-255]''\\
 Sets the 'BuildingScriptParam' value for a particular building. This value is accessed from building script events using ''$gBuildingScriptParam'' \\ Sets the 'BuildingScriptParam' value for a particular building. This value is accessed from building script events using ''$gBuildingScriptParam'' \\
 +**buildingsaleprice** .. ''*buildingsaleprice <BUILDING_NUM> <SELL_PRICE>'' \\
 +Sets the building sale price (0 means the building is not for sale) \\
 **buildingteams** \\ **buildingteams** \\
  Prints the number of buildings currently assigned to teams.\\  Prints the number of buildings currently assigned to teams.\\
Line 43: Line 85:
 **changeskillname** ... ''*changeskillname [OLD_SKILL_NAME],[NEW_SKILL_NAME]''\\ **changeskillname** ... ''*changeskillname [OLD_SKILL_NAME],[NEW_SKILL_NAME]''\\
 Changes the name of a skill. Note that you will need to relog to see the full effects of the change.\\ Changes the name of a skill. Note that you will need to relog to see the full effects of the change.\\
 +**choptrees** ... ''*choptrees [WORLD_X],[WORLD_Y],[RANGE]'' \\
 +Temporarily removes any trees in the specified region and replaces them with tree stump models. (Trees return when player relogs) \\
 **cleanmap** \\ **cleanmap** \\
  Cleans out any redundant packets (walls and destroyed buildings) from the map file. Not generally useful unless you've been doing a lot of odd editing.\\  Cleans out any redundant packets (walls and destroyed buildings) from the map file. Not generally useful unless you've been doing a lot of odd editing.\\
Line 59: Line 103:
 **clearlostbuildings** \\ **clearlostbuildings** \\
  Clears up any buildings that exist in the .bui file but don't exist in the map. (Shouldn't happen unless something has gone odd, or you've been fiddling with your files in some unpleasant way).\\  Clears up any buildings that exist in the .bui file but don't exist in the map. (Shouldn't happen unless something has gone odd, or you've been fiddling with your files in some unpleasant way).\\
 +**clearzone** ... ''*clearzone [type],[x],[y]''\\
 +Removes all zones of the specified type that cover the map coordinate specified \\
 +**clonevehiclesettings** ... ''*clonevehiclesettings [source_vehnum] [dest_vehnum]''\\
 +Copies the settings from one vehicle to another \\
 +**constructioninit** ... ''*constructioninit [PLAYER_NAME]'' \\
 +Activates the construction screen for the player \\
 **crowscoreswipeall** \\ **crowscoreswipeall** \\
  Resets the crow kill/death scores for all users (not just those online). \\  Resets the crow kill/death scores for all users (not just those online). \\
Line 67: Line 117:
 **crowlives**  ... ''*crowlives [PLAYER_NAME] [NUM_LIVES]''\\ **crowlives**  ... ''*crowlives [PLAYER_NAME] [NUM_LIVES]''\\
  Sets the number of lives the player will have in crow mode \\  Sets the number of lives the player will have in crow mode \\
 +**crowspawn** ... ''*crowspawn [player] [mapX] [mapY]''\\
 +Sets the position at which the player's crow will spawn \\
 **customsound** ... ''*customsound [PLAYER_NAME] [DOWNLOADABLE_SOUND_NUM]''\\ **customsound** ... ''*customsound [PLAYER_NAME] [DOWNLOADABLE_SOUND_NUM]''\\
 Plays one of the custom downloadable sounds to the player. \\ Plays one of the custom downloadable sounds to the player. \\
Line 75: Line 127:
 **cutscenemax** ... ''*cutscenemax [PLAYER_NAME] [CUTSCENE_FILENAME]'' \\ **cutscenemax** ... ''*cutscenemax [PLAYER_NAME] [CUTSCENE_FILENAME]'' \\
 Triggers a 'maximised' cutscene for the player. \\ Triggers a 'maximised' cutscene for the player. \\
 +**damageplayer** ... ''*damageplayer [PLAYER_NAME] [DAMAGE_AMOUNT] [FIRER_NAME]'' \\
 +Damages a player by the specified amount. 'FIRER_NAME' can be omitted \\
 +**debugbuildingprox** \\
 +Prints some basic information on the state of the building prox system for the local player.\\
 +**debugspawnzones**  ... ''*debugspawnzones''\\
 +Prints some basic information on the number of spawn zones currently in the map.\\
 **deify**  ... ''*deify [PLAYER_NAME]''\\ **deify**  ... ''*deify [PLAYER_NAME]''\\
  Sets the player to authorisation level 12.\\  Sets the player to authorisation level 12.\\
 +**delallbuildzones** ... ''*delallbuildzones [ZONE_NUM]''\\
 +Deletes all build zones of the specified type.\\
 **delallmap** ... ''*delallmap [MAP_TYPE]''\\ **delallmap** ... ''*delallmap [MAP_TYPE]''\\
 Removes all packets from the map with the specified map type.\\ Removes all packets from the map with the specified map type.\\
-**delalltreesoftype** \\+**delallstaticeffects** ... ''*delallstaticeffects''\\ 
 +Removes all static effect packets from the map.\\ 
 +**delalltexmaps** ... ''*delalltexmaps [num]''\\ 
 +Removes all texture maps of the specified number from the map.\\ 
 +**delalltreesoftype** ... ''*delalltreesoftype [TREE_NUMBER]''\\ 
 +Removes all forests of the specified tree type. \\ 
 +**deleteallbuildings** \\ 
 +Deletes all building records from the game and removes them from the map. \\
 **demolishallbuildings** \\ **demolishallbuildings** \\
 +Demolishes all buildings on the map. (Note that normally building records never get fully deleted (For game modes where a demolished building can get restored etc). To fully delete all the buildings from your world, use *deleteallbuildings\\
 +**demolishbuilding** ... ''*demolishbuilding [buildingNum]'' \\
 +Removes a single building from the map \\
 +**demolishplayerbuildings** .. ''*demolishplayerbuildings [PLAYER]'' \\
 +Removes all the player's buildings from the map (except ones that have been flagged in the buildings editor with 'Can't demolish' \\
 +**dotask** ... ''*dotask [player] [taskcode] [text]''\\
 +Activates a task for the player \\
 +**dobuildingtask** ... ''*dobuildingtask [player] [buildingnum] [taskcode] [text]''\\
 +Activates a building task for the player & building \\
 +**docombitask** ... ''*docombitask [PLAYER] [itemnum1] [itemnum2] [itemnum3]''\\
 +Activates a combination task for the player \\
 **eao** ... ''*eao [CUSTOM_EVENT_NAME]'' \\ **eao** ... ''*eao [CUSTOM_EVENT_NAME]'' \\
 (Short version of ''eventallonline'') Triggers a custom event for all players currently connected to the server. \\ (Short version of ''eventallonline'') Triggers a custom event for all players currently connected to the server. \\
Line 87: Line 165:
 **effect** ... ''*effect [PLAYERNAME] [EFFECT_NUM]''\\ **effect** ... ''*effect [PLAYERNAME] [EFFECT_NUM]''\\
 Triggers a special effect on the specified player. \\ Triggers a special effect on the specified player. \\
-**employeerecount** \\+**employeerecount** ... ''*employeerecount'' \\ 
 +Used to make sure that all buildings have the correct employee details. (Mostly useful if you've been fiddling with data files or backups or something odd). \\ 
 +**enterscene** ... ''*enterscene [PLAYERNAME] [URL to uim]'' \\ 
 +Makes the named player download the specified .uim file and then enter the scene \\
 **event** ... ''*event [PLAYERNAME] [CUSTOM_EVENT_NAME]''\\ **event** ... ''*event [PLAYERNAME] [CUSTOM_EVENT_NAME]''\\
 Triggers a specific custom script event for the named player.\\ Triggers a specific custom script event for the named player.\\
 +**eventallalive** ... ''*eventallalive [CUSTOM_EVENT_NAME]'' \\
 +Triggers a custom event for all players currently alive on the server. If you have a lot of players registered on your world this may take some time! \\
 +**eventallbuildings** ... ''*eventallbuildings [CUSTOM_EVENT_NAME]'' \\
 +Triggers a custom event for all the buildings currently constructed on the world. Note the 'Player' in the script context will be 0 \\
 **eventallonline** ... ''*eventallonline [CUSTOM_EVENT_NAME]'' \\ **eventallonline** ... ''*eventallonline [CUSTOM_EVENT_NAME]'' \\
 Triggers a custom event for all players currently connected to the server. \\ Triggers a custom event for all players currently connected to the server. \\
 +**eventallresidents** ... ''*eventallresidents [TOWN_NAME] [CUSTOM_EVENT_NAME]'' \\
 +Triggers a custom event for all players that have the named town set as their home town. \\
 **exitcrow**  ... ''*exitcrow [PLAYER_NAME]'' \\ **exitcrow**  ... ''*exitcrow [PLAYER_NAME]'' \\
  Causes the named player to exit crow mode and return to their main 'vehicle'. \\  Causes the named player to exit crow mode and return to their main 'vehicle'. \\
Line 98: Line 185:
 **exitteamall** \\ **exitteamall** \\
 Removes everyone from the team game. \\ Removes everyone from the team game. \\
 +**explodebuilding** ... ''*explodebuilding [BUILDING_NUM]'' \\
 +Causes the building to explode \\
 +**fademusic** ... ''*fademusic [PLAYER] [Time (Seconds)]'' \\
 +Fades out the music playing for the player \\
 **filetransferstats** \\ **filetransferstats** \\
 Prints details of all file transfers currently active on the server \\ Prints details of all file transfers currently active on the server \\
 **firework** ... ''*firework''\\ **firework** ... ''*firework''\\
 Adds a firework effect at your current location \\ Adds a firework effect at your current location \\
 +**fishingstop** ... ''*fishingstop [PLAYER_NAME]'' \\
 +Stops the player fishing \\
 **flog**  ... ''*flog [PLAYER_NAME]'' \\ **flog**  ... ''*flog [PLAYER_NAME]'' \\
  Prints a message in everyone's chat saying that the player was flogged by you. \\  Prints a message in everyone's chat saying that the player was flogged by you. \\
Line 113: Line 206:
 **gagweapons** ... ''*gagweapons [PLAYER_NAME]''\\ **gagweapons** ... ''*gagweapons [PLAYER_NAME]''\\
  Prevents the player from sending any weapon fire messages.  \\  Prevents the player from sending any weapon fire messages.  \\
-**game** \\ +**game** -- TODO - Should take player name \\ 
-**gamestart** \\+Prints the status of the game \\ 
 +**gamestart** ... ''*gamestart'' \\ 
 +Starts a game (See [link]) \\
 **gameend** \\ **gameend** \\
-**getsubstatus** \\+Ends a game (See [link]) \\
 **getvers** \\ **getvers** \\
  Returns the build version number of the current server. \\  Returns the build version number of the current server. \\
Line 123: Line 218:
 **gocrowall** ... ''*gocrowall''\\ **gocrowall** ... ''*gocrowall''\\
 Puts all players into robocrow mode \\ Puts all players into robocrow mode \\
-**godpm** \\ +**godpm** ... ''*godpm [PLAYER_NAME] [TEXT]''\\ 
-**godspeak** \\ +Sends a private message to the player from 'Jehovah'\\ 
-**goto** \\ +**godspeak** ... ''*godspeak [TEXT]''\\ 
-**gotomapvehicle** \\+Sends a public message to all players from 'Jehovah'\\ 
 +**goto** ... ''*goto [BUILDING_NAME]'' \\ 
 +Relocates you to the named building. \\
 **grantbankcash** \\ **grantbankcash** \\
 **grantcash**  ... ''*grantcash [PLAYER_NAME] [AMOUNT_IN_DENARI]''\\ **grantcash**  ... ''*grantcash [PLAYER_NAME] [AMOUNT_IN_DENARI]''\\
Line 144: Line 241:
 **grantskillall** ... ''*grantskillall [SKILL_NAME]''\\ **grantskillall** ... ''*grantskillall [SKILL_NAME]''\\
  Gives a skill to all players registered on the world.\\  Gives a skill to all players registered on the world.\\
-**invdefault** \\+**hitchplayer** ... ''*hitchplayer [PLAYERNAME] [TARGET_NAME]'' \\ 
 +Sets the named player to hitch/attach to the target player \\ 
 + 
 +==== Commands I -> R ==== 
 + 
 +**invdefault** ... ''*invdefault [SET_NUMBER]''\\ 
 + Saves your current inventory as the default set. \\
 **itemproperties** ... ''*itemproperties [ITEM_NAME]'' \\ **itemproperties** ... ''*itemproperties [ITEM_NAME]'' \\
 Prints details of the named item. \\ Prints details of the named item. \\
 **kick**... ''*kick [PLAYER_NAME]'' \\ **kick**... ''*kick [PLAYER_NAME]'' \\
  Disconnects the player from the server. (Note they will be able to come back in immediately unless you have used a ban or other method to prevent them returning)\\  Disconnects the player from the server. (Note they will be able to come back in immediately unless you have used a ban or other method to prevent them returning)\\
-**kickfromfamily** \\ +**kill** ... ''*kill [PLAYER_NAME]''\\ 
-**kill** \\+Resets the player record and kicks them from the server if they are currently online. \\
 **killalllights** ... ''*killalllights'' \\ **killalllights** ... ''*killalllights'' \\
-Deletes all streetlights from the map.+Deletes all streetlights from the map. \\ 
 +**killalltimers** ... ''*killalltimers'' \\ 
 +Deletes all active script timers (created with script function sysSetTimer) \\
 **killbillall** \\ **killbillall** \\
 Completely resets all player records, removing all players from the server. \\ Completely resets all player records, removing all players from the server. \\
 **killhealth**  ... ''*killhealth [PLAYER_NAME]''\\ **killhealth**  ... ''*killhealth [PLAYER_NAME]''\\
 Kills the player through health loss.\\ Kills the player through health loss.\\
 +**killtimer** ... ''*killtimer [timer_id]'' \\
 +Deletes the specified timer \\
 **knight** ... ''*knight [PLAYER_NAME]''\\ **knight** ... ''*knight [PLAYER_NAME]''\\
 Sets the player to authorisation level 8.\\ Sets the player to authorisation level 8.\\
-**krick** \\ 
 **lasthere** ... ''*lasthere [PLAYER_NAME]'' \\ **lasthere** ... ''*lasthere [PLAYER_NAME]'' \\
 Prints the time when the player was last online on this world. \\ Prints the time when the player was last online on this world. \\
-**loadmap** \\+**listtimers** ... ''*listtimers''\\ 
 +Displays info on all the currently active timers \\ 
 +**loadmap** ... ''*loadmap [FILENAME]'' \\ 
 +Loads new map files and disconnects all players. Path and extension is automatically added, so ''*loadmap test'' would load the files ''maps\test.map'' and ''maps\test.bui''\\
 **lockserver** \\ **lockserver** \\
  Locks the server so no new players can access it. Using the command again will unlock it. Note that the owner and sysops will always be able to enter. \\  Locks the server so no new players can access it. Using the command again will unlock it. Note that the owner and sysops will always be able to enter. \\
Line 175: Line 284:
 **makeop**  ... ''*makeop [PLAYER_NAME]''\\ **makeop**  ... ''*makeop [PLAYER_NAME]''\\
  Grants the named player 'Op' authorisation (Level 12) \\  Grants the named player 'Op' authorisation (Level 12) \\
-**makeowner** \\+**makeowner** ... ''*makeowner [PLAYER_NAME]''\\ 
 + Grants the named player full owner level authorisation (Level 20) \\
 **makesysop**  ... ''*makesysop [PLAYER_NAME]''\\ **makesysop**  ... ''*makesysop [PLAYER_NAME]''\\
  Grants the named player 'SysOp' authorisation (Level 16) \\  Grants the named player 'SysOp' authorisation (Level 16) \\
Line 186: Line 296:
 **model** ... ''*model (TYPE) (NUM) (FILENAME)'' \\ **model** ... ''*model (TYPE) (NUM) (FILENAME)'' \\
 TBD \\ TBD \\
-**movebuilding** \\+**movebuildinghere** ... ''*movebuildinghere [BUILDING_RECORD_NUMBER]''\\ 
 +Moves the specified building to your current location \\
 **msg** ... ''*msg [PLAYER_NAME] Text..''\\ **msg** ... ''*msg [PLAYER_NAME] Text..''\\
 Sends a system message to the named player. \\ Sends a system message to the named player. \\
 **newsregen**  ... ''*newsregen'' \\ **newsregen**  ... ''*newsregen'' \\
 Regenerate the server newspaper. \\ Regenerate the server newspaper. \\
 +**onscreentimer** ... ''*onscreentimer [player],[type],[seconds]''\\
 +Displays an onscreen timer for the named player for the specified time \\
 +**osdclosewindow** .. ''*osdclosewindow [PLAYER] [PARAM]'' \\
 +Closes the scripted OSD for the player \\
 **playsound** ... ''*playsound [PLAYER_NAME] [SOUND_NUM]'' \\ **playsound** ... ''*playsound [PLAYER_NAME] [SOUND_NUM]'' \\
-Plays a sound effect for the player. (See sound effects [list])+Plays a sound effect for the player. (See sound effects [list]) \\
 **playmusic** ... ''*playmusic [PLAYER_NAME] [MP3_URL]''\\ **playmusic** ... ''*playmusic [PLAYER_NAME] [MP3_URL]''\\
 Plays music for the player. The URL should specify the web address of an mp3 file which the player will download and then play. \\ Plays music for the player. The URL should specify the web address of an mp3 file which the player will download and then play. \\
Line 198: Line 313:
 Prints the name of the owner of the world. \\ Prints the name of the owner of the world. \\
 **radiolist** \\ **radiolist** \\
 +Prints details of the radio stations configured on the world. \\
 **radiorefresh** \\ **radiorefresh** \\
 +Reloads the ''Data/Radio/radiolist.txt'' file which contains details for configuring the radio stations on the world \\
 **recalcprod** \\ **recalcprod** \\
 +Used to immediately re-calculate the production efficiencies of all buildings on the world. (Can be useful if you are adjusting settings or building details). \\
 **recycle** \\ **recycle** \\
 Kicks all connected players from the world. \\ Kicks all connected players from the world. \\
-**refreshheightmap** \\ +**refreshheightmap** ... ''*refreshheightmap [FILENAME]'' \\ 
-**refreshworld** \\+Sets the file to be used for the world's heightmap and regenerates the landscape. [FILENAME] refers to a file on your server called maps/[FILENAME].bmp \\
 **refreshweap** ... ''*refreshweap''\\ **refreshweap** ... ''*refreshweap''\\
 Reloads the Data\Weapons.txt file which contains the definition of all weapons used on your world. \\ Reloads the Data\Weapons.txt file which contains the definition of all weapons used on your world. \\
Line 212: Line 330:
 **reloadconfig** ... ''*reloadconfig'' \\ **reloadconfig** ... ''*reloadconfig'' \\
 Reloads the ServerConfig.txt file that stores key information regarding the owner and status of the world \\ Reloads the ServerConfig.txt file that stores key information regarding the owner and status of the world \\
-**reloaddm** \\ 
-**reloaditems** \\ 
 **reloadnames** \\ **reloadnames** \\
 Reloads the Data\NamesFile.txt file which contains various details about your world, including the names of assigned models and textures, text for books etc, links to web download store, etc etc. \\ Reloads the Data\NamesFile.txt file which contains various details about your world, including the names of assigned models and textures, text for books etc, links to web download store, etc etc. \\
 **reloadnews** \\ **reloadnews** \\
 +Reloads the Data/News.txt file which contains the 'Message of the day'/news for your world \\
 **reloadscript** \\ **reloadscript** \\
  Reloads the 'ServerScript.mit' file and any associated includes. \\  Reloads the 'ServerScript.mit' file and any associated includes. \\
Line 223: Line 340:
 **removebackgroundmodel**  ... ''*removebackgroundmodel [BGMODEL_NUM],[MapX],[MapY]''\\ **removebackgroundmodel**  ... ''*removebackgroundmodel [BGMODEL_NUM],[MapX],[MapY]''\\
 Removes background models from the specified map location \\ Removes background models from the specified map location \\
 +**removebuilding** ... ''*removebuilding type,mapx,mapy''\\
 +Removes a building from the map \\
 +**removeemployee** ... ''*removeemployee [BUILDING_NUM] [NAME]''\\
 +Removes an employee from the building \\
 +**removefromstocks** ... ''*removefromstocks buildingID,quantity,item name''\\
 +Removes an item from the building's stocks \\
 **removeskill**  ... ''*removeskill [PLAYER_NAME] [SKILL_NAME]''\\ **removeskill**  ... ''*removeskill [PLAYER_NAME] [SKILL_NAME]''\\
  Removes the skill from the player. \\  Removes the skill from the player. \\
 **removeskillall**  ... ''*removeskillall [SKILL_NAME]''\\ **removeskillall**  ... ''*removeskillall [SKILL_NAME]''\\
  Removes the skill from all players registered on the world. \\  Removes the skill from all players registered on the world. \\
-**removewalls** \\ +**removetile** .. ''*removetile surface,x1,y1[,x2,y2]'' \\ 
-**repair** \\+Removes a surface tile from the map \\ 
 +**removewalls** ... ''*removewalls''\\ 
 + Remove all walls that start or end on your current mapsquare. \\ 
 +**repair** ... ''*repair [PLAYER_NAME]''\\ 
 +Clears the current vehicle damage for the player. \\
 **repairbuilding** \\ **repairbuilding** \\
  Repairs the building closest to you current position. \\  Repairs the building closest to you current position. \\
Line 234: Line 361:
  Repairs all buildings in the world \\  Repairs all buildings in the world \\
 **resetallpositions** \\ **resetallpositions** \\
 + Resets the position of everyone currently registered on the server. \\
 **resetallbuildings** \\ **resetallbuildings** \\
 + Resets the contents (stocks) of all buildings on the world. \\
 **resetallcrowscores** \\ **resetallcrowscores** \\
 Sets the robocrow kill and death scores back to 0 \\ Sets the robocrow kill and death scores back to 0 \\
Line 245: Line 374:
 **resetallkudos** \\ **resetallkudos** \\
  Sets the kudos for players (not just those online) to 0\\  Sets the kudos for players (not just those online) to 0\\
 +**resetallmodels** \\
 + Resets the list of models used on the server. \\
 **resetallplayervars** \\ **resetallplayervars** \\
  Resets all the script PlayerVars to 0 for all players registered on the world \\  Resets all the script PlayerVars to 0 for all players registered on the world \\
Line 250: Line 381:
  Clears the tribe for all players (not just those online) \\  Clears the tribe for all players (not just those online) \\
 **resetallvehlives** \\ **resetallvehlives** \\
-**resetbestlaps** \\+**resetbestlaps** ... ''*resetbestlaps'' \\ 
 +Resets the racing score-table. \\
 **resetbillall** \\ **resetbillall** \\
 +**resethealth**  ... ''*resethealth [PLAYER_NAME]''\\
 + Resets the health and needs of the player. Note this includes the Health, MaxHealth, Hunger and Thirst and other nutritional values which are all set to the initial defaults. \\
 **resetmap** \\ **resetmap** \\
 Wipes the map and disconnects all players \\ Wipes the map and disconnects all players \\
Line 258: Line 392:
 **resetpos**  ... ''*resetpos [PLAYER_NAME]'' \\ **resetpos**  ... ''*resetpos [PLAYER_NAME]'' \\
  Resets the player to the middle of the map\\  Resets the player to the middle of the map\\
-**resethealth**  ... ''*resethealth [PLAYER_NAME]''\\ 
- Resets the health and needs of the player. Note this includes the Health, MaxHealth, Hunger and Thirst and other nutritional values which are all set to the initial defaults. \\ 
-**resetwealth** \\ 
 **resetplayervars** ... ''*resetplayervars [PLAYER_NAME]''\\ **resetplayervars** ... ''*resetplayervars [PLAYER_NAME]''\\
 Resets all the scripted PlayerVars for the named player. \\ Resets all the scripted PlayerVars for the named player. \\
 **resettask**  ... ''*resettask [PLAYER_NAME]''\\ **resettask**  ... ''*resettask [PLAYER_NAME]''\\
 Clears the current task of the player. \\ Clears the current task of the player. \\
 +**resetwealth** ... ''*resetwealth [PLAYER_NAME]'' \\
 +Resets the player's wealth to the 'startcash' value as determined in settings. \\
 **restorelostbuilding** \\ **restorelostbuilding** \\
 **rotatebuilding** ... ''*rotatebuilding [ROTATION 0-31]''\\ **rotatebuilding** ... ''*rotatebuilding [ROTATION 0-31]''\\
 Rotates the nearest building to the specified angle \\ Rotates the nearest building to the specified angle \\
-**sack** \\+ 
 +==== Commands S -> Z ==== 
 + 
 +**sack** ... ''*sack [PLAYER_NAME]'' \\ 
 +Removes the player from all his jobs. \\
 **savemap**  ... ''*savemap [FILENAME]''\\ **savemap**  ... ''*savemap [FILENAME]''\\
  Saves the current map and building records to a file. Path and extension is automatically added, so ''*savemap test'' would save the files as ''maps\test.map'' and ''maps\test.bui''. \\  Saves the current map and building records to a file. Path and extension is automatically added, so ''*savemap test'' would save the files as ''maps\test.map'' and ''maps\test.bui''. \\
Line 274: Line 411:
  Prints the text in red in the chatlog for all connected players.\\  Prints the text in red in the chatlog for all connected players.\\
 **scores** \\ **scores** \\
-**send** \\ +**send** ... ''*send [PLAYER_NAME] [BUILDING_NAME]''\\ 
-**set** \\+ Sends the player to the specified building. \\
 **setage**  ... ''*setage [PLAYER_NAME] [AGE]''\\ **setage**  ... ''*setage [PLAYER_NAME] [AGE]''\\
  Sets the current age of the player (in years). \\  Sets the current age of the player (in years). \\
Line 283: Line 420:
  Sets the authorisation level for the player. (e.g. *setauth player 16, is the same as *makesysop player)\\  Sets the authorisation level for the player. (e.g. *setauth player 16, is the same as *makesysop player)\\
 **setbirthtown** \\ **setbirthtown** \\
 +TBD \\
 +**setbuildingstateflags** ... ''*setbuildingstateflags [BUILDINGRECORD_NUM] [FLAGS]''\\
 +TBD \\
 +**setbuyprice** ... ''*setbuyprice [BUILDINGRECORD_NUM],[ITEMNAME],[PRICE]''\\
 +Sets the buy price for the named item at the building \\
 **setcrow**  ... ''*setcrow [PLAYER_NAME] [CROW_NUM 1-8]''\\ **setcrow**  ... ''*setcrow [PLAYER_NAME] [CROW_NUM 1-8]''\\
  Sets the crow number for the player. If they are not currently in crow mode they will enter it. \\  Sets the crow number for the player. If they are not currently in crow mode they will enter it. \\
-**setfamilyhead** \\ 
 **setfollower**  ... ''*setfollower [PLAYER_NAME] [NEW_LEADER_NAME]''\\ **setfollower**  ... ''*setfollower [PLAYER_NAME] [NEW_LEADER_NAME]''\\
  Makes the named player join the tribe of the leader. \\  Makes the named player join the tribe of the leader. \\
 **setfollowerid**  ... ''*setfollowerid [PLAYER_NAME] [NEW_LEADER_BILLINGID]'' \\ **setfollowerid**  ... ''*setfollowerid [PLAYER_NAME] [NEW_LEADER_BILLINGID]'' \\
  Makes the named player join the tribe of the leader, using ID rather than name (Useful for script). \\  Makes the named player join the tribe of the leader, using ID rather than name (Useful for script). \\
-**setglobalvar** \\ 
 **sethealth**  ... ''*sethealth [PLAYER_NAME] [VALUE 0-60000]''\\ **sethealth**  ... ''*sethealth [PLAYER_NAME] [VALUE 0-60000]''\\
  Sets the health value for the player. Note that setting health to 0 effectively kills the player. \\  Sets the health value for the player. Note that setting health to 0 effectively kills the player. \\
-**sethometown** \\+**sethometown** ... ''*sethometown [PLAYER_NAME] [TOWN_NAME]'' \\ 
 +Sets the home town for the player. \\
 **sethunger** ... ''*sethunger [PLAYER_NAME] [VALUE 0-50000]''\\ **sethunger** ... ''*sethunger [PLAYER_NAME] [VALUE 0-50000]''\\
  Sets the hunger value for the player.  \\  Sets the hunger value for the player.  \\
-**setitemadvancednutrition** \\ +**setitemmax** ... ''*setitemmax [ITEM_NAME],[MAX_AMOUNT_CARRIED]'' \\ 
-**setitemmax** \\ +Sets a per item capacity limit, so that players are restricted to carrying a specific amount of this item. Setting the value to 0 removes this restriction. \\ 
-**setitemnutrition** \\ +**setitemnutrition** ... ''*setitemnutrition [ItemName],[Primary]|[Health]|[MaxHealth]''\\ 
-**setitemuse** \\+Sets the nutrition values for the item. (See [link])\\ 
 +**setitemuse** ... ''*setitemuse ItemName,[UseVal]'' \\ 
 +Sets the item type. (See [link]) \\
 **setkudos**  ... ''*setkudos [PLAYER_NAME] [VALUE]''\\ **setkudos**  ... ''*setkudos [PLAYER_NAME] [VALUE]''\\
  Sets the kudos score for the player. Note this replicates the change to all players in the world. \\  Sets the kudos score for the player. Note this replicates the change to all players in the world. \\
 **setlevel**  ... ''*setlevel [PLAYER_NAME] [VALUE]''\\ **setlevel**  ... ''*setlevel [PLAYER_NAME] [VALUE]''\\
  Sets the 'Level' of the player. Note this broadcasts the change to all players on the world. \\  Sets the 'Level' of the player. Note this broadcasts the change to all players on the world. \\
-**setlives** \\+**setlevelall** .. ''*setlevelall [VALUE]'' \\ 
 +Sets the level for all players currently registered on the world \\ 
 +**setlives** ... ''*setlives [PLAYER_NAME] [NUMBER_OF_LIVES]''\\ 
 + Sets the number of 'lives' for the player. (What 'lives' actually means depends on settings, see [link] ) \\
 **setmaxhealth** ... ''*setmaxhealth [PLAYER_NAME] [VALUE 0-60000]''\\ **setmaxhealth** ... ''*setmaxhealth [PLAYER_NAME] [VALUE 0-60000]''\\
  Sets the maximum potential health value for the player. \\  Sets the maximum potential health value for the player. \\
 **setoldestage** ... ''*setoldestage [PLAYER_NAME] [AGE]''\\ **setoldestage** ... ''*setoldestage [PLAYER_NAME] [AGE]''\\
  Sets the oldest recorded age for this player. \\  Sets the oldest recorded age for this player. \\
-**setplayervar** \\ +**setplayervar** ... ''*setplayervar [PLAYER_NAME] [VARIABLE_NUM] [VALUE]''\\ 
-**setroyalty** \\ +Sets an individual script 'PlayerVar'. e.g. ''*setplayervar Bob 1 100'' sets the ''$gPlayerVar[1]'' to ''100'' for Bob. \\ 
-**setsealevel** \\+**setsealevel** ... ''*setsealevel [VALUE]''\\ 
 +Sets the sea level on the world and transmits the change to all players. \\ 
 +**setsellprice** ... ''*setsellprice [BUILDINGRECORD_NUM],[ITEMNAME],[PRICE]''\\ 
 +Sets the sell price for the named item at the building \\
 **setservervar**  ... ''*setservervar [VARIABLE_NUM 1-64] [VALUE]''\\ **setservervar**  ... ''*setservervar [VARIABLE_NUM 1-64] [VALUE]''\\
  Sets the specified gServerVar to the value given.\\  Sets the specified gServerVar to the value given.\\
Line 320: Line 469:
 **setteam** ... ''*setteam [PLAYER_NAME] [TEAM_NUM]''\\ **setteam** ... ''*setteam [PLAYER_NAME] [TEAM_NUM]''\\
  Sets the player to be a member of the specified team number. \\  Sets the player to be a member of the specified team number. \\
-**setteleport** \\+**settile** ... ''*settile surface,x1,y1[,x2,y2]''\\ 
 +Sets the surface tile for the specified map points \\
 **settime** ... ''*settime [TIME_VALUE 0-86400]''\\ **settime** ... ''*settime [TIME_VALUE 0-86400]''\\
 Sets the current game time. 42,200 = Midday. \\ Sets the current game time. 42,200 = Midday. \\
Line 333: Line 483:
  Sets the player to a specific vehicle (ignoring any restrictions that would normally apply). \\  Sets the player to a specific vehicle (ignoring any restrictions that would normally apply). \\
 **setvehicledamage** \\ **setvehicledamage** \\
-**showresidents** \\+**setwage** ... ''*setwage BuildingNum wage''\\ 
 +Sets the wage for the building \\ 
 +**showresidents** ... ''*showresidents [TOWN_NAME]'' \\ 
 + Prints a list of the players who are resident in this town. \\
 **showaccounts** ... ''*showaccounts [PLAYER_NAME]'' \\ **showaccounts** ... ''*showaccounts [PLAYER_NAME]'' \\
 Displays the accounts record for the player. \\ Displays the accounts record for the player. \\
Line 356: Line 509:
 **showrented** ... ''*showrented [PLAYER_NAME]'' \\ **showrented** ... ''*showrented [PLAYER_NAME]'' \\
 Prints a list of all the buildings currently rented by this player \\ Prints a list of all the buildings currently rented by this player \\
-**showsameid** \\+**showsameid** ... ''*showsameid [PLAYER_NAME]'' \\ 
 +Prints details of players who have logged on from the same computer as this player. \\
 **showskills** ... ''*showskills [PLAYER_NAME]'' \\ **showskills** ... ''*showskills [PLAYER_NAME]'' \\
 Prints the list of skills the player has learnt or is currently learning \\ Prints the list of skills the player has learnt or is currently learning \\
Line 369: Line 523:
 **skilldefault** \\ **skilldefault** \\
  Sets your current selection of skills as the default for the world. \\  Sets your current selection of skills as the default for the world. \\
-**soundeffect** \\+**soundeffect** ... ''*soundeffect [SOUND_EFFECT_NUM]'' \\ 
 +Plays a sound effect to all players on the world. (See [list]) \\
 **speclockall** \\ **speclockall** \\
  Locks all players in spectator mode. (Use the command again to unlock) \\  Locks all players in spectator mode. (Use the command again to unlock) \\
Line 383: Line 538:
 **town** ... ''*town'' \\ **town** ... ''*town'' \\
 Prints a list of players who have the same 'Home Town' as you. \\ Prints a list of players who have the same 'Home Town' as you. \\
-**updatebuildingpositionsfromindex** \\ 
-**updateserverbuildingpositions** \\ 
 **undeify** ... ''*undeify [PLAYER_NAME]'' \\ **undeify** ... ''*undeify [PLAYER_NAME]'' \\
 Sets the player to authorisation level 0 \\ Sets the player to authorisation level 0 \\
Line 394: Line 547:
 **universeconn** ... ''*universeconn'' \\ **universeconn** ... ''*universeconn'' \\
 Prints the status of the server's connection to the Universe. \\ Prints the status of the server's connection to the Universe. \\
-**unlockplayerchat** \\+**unlockplayerchat** ... ''*unlockplayerchat [PLAYER_NAME]''\\ 
 +Unlocks one player's chat (when public chat is locked). \\
 **unlockpublic** \\ **unlockpublic** \\
  Unlocks the public chat - See *lockpublic \\  Unlocks the public chat - See *lockpublic \\
Line 418: Line 572:
 ==== Internal / Unused / Deprecated ==== ==== Internal / Unused / Deprecated ====
  
-**addcrate** \\+**addcrate** -- to be deprecated by objects \\
 **addel** \\ **addel** \\
 **additem** \\ **additem** \\
Line 439: Line 593:
 **ftpexport** \\ **ftpexport** \\
 **galreconnect** \\ **galreconnect** \\
 +**getsubstatus** \\
 +**gotomapvehicle** -- todo - to be deprecated by objects \\
 +**kickfromfamily** ... ''*kickfromfamily [PLAYER_NAME]'' \\
 + Removes the player from their current family. \\
 +**krick** \\
 **lottery**  -- remove lottery code - can be done in script \\ **lottery**  -- remove lottery code - can be done in script \\
 **lotterybonus**  -- remove lottery code - can be done in script \\ **lotterybonus**  -- remove lottery code - can be done in script \\
Line 444: Line 603:
 **msgowner** \\ **msgowner** \\
 **pageowner** \\ **pageowner** \\
 +**refreshworld** \\
 **reloadbuildingsandrecycle** \\ **reloadbuildingsandrecycle** \\
 Same as ''*reloadbuildings'' but also recycles the server \\ Same as ''*reloadbuildings'' but also recycles the server \\
 +**reloaditems** \\
 **resetpassword** \\ **resetpassword** \\
 **rewardset** -- todo - deprecate with onlevelchange callback \\ **rewardset** -- todo - deprecate with onlevelchange callback \\
 **royalty** \\ **royalty** \\
 +**set** ... ''*set [SETTINGS_GROUP] [SETTING_NUMBER] [SETTING_VALUE]''\\
 + Used to set ''*settings'' values. May be dangerously broken :)\\
 **setchat** \\ **setchat** \\
 +**setfamilyhead** \\
 +**setglobalvar** \\
 +**setitemadvancednutrition** \\
 +**setroyalty** \\
 +**setteleport** \\
 **showticket**  -- remove lottery code - can be done in script \\ **showticket**  -- remove lottery code - can be done in script \\
 **showuser** \\ **showuser** \\
Line 456: Line 624:
 **testgetip** \\ **testgetip** \\
 **testemail** \\ **testemail** \\
 +**updatebuildingpositionsfromindex** \\
 +Method for correcting corrupted/confused building data. \\
 +**updateserverbuildingpositions** \\
 **wipeuser** \\ **wipeuser** \\
- 
  
reference/server_commands/full_command_list.1333825317.txt.gz · Last modified: (external edit)