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 [2020/03/13 05:02] – [*notifyall] mitreference:server_commands:full_command_list [2023/05/04 13:22] (current) – [*buildingspecialevent] mit
Line 146: Line 146:
 ==== *buildingspecialevent ==== ==== *buildingspecialevent ====
 ''*buildingspecialevent [BUILDING_NUM] [MODE] [PARAM]''\\ ''*buildingspecialevent [BUILDING_NUM] [MODE] [PARAM]''\\
-This command allows special event statuses to be applied to a particular 'building'. Currently these special events are there to provide the Bongochimp events on the central atractor worlds : +This command allows special event statuses to be applied to a particular 'building'. Currently these special events are there mainly to provide the Bongochimp events on the staff atractor worlds :\\ 
-Mode 1 = Building descends from orbit +Mode 1 = Building descends from orbit\\ 
-Mode 2 = Building ascends to orbit +Mode 2 = Building ascends to orbit\\ 
-Mode 3 = Bongowheel sequence is activated+Mode 3 = Bongowheel sequence is activated\\ 
 +Mode 4 = Text is printed above building 
 +Mode 5 = Text is printed above building 
 +Mode 6 = Text is printed above building 
 +Mode 7 = Building model plays animation "Gesture 1" (assuming the building model includes the animation) (for the number of seconds specified by PARAM)\\ 
 +Mode 8 = Building is hidden temporarily (For the number of seconds specified by PARAM)\\ 
  
  
Line 268: Line 274:
 ==== *deleteallbuildings ====  ==== *deleteallbuildings ==== 
 Deletes all building records from the game and removes them from the map. \\ Deletes all building records from the game and removes them from the map. \\
 +==== *delracetrack ====
 +''*delracetrack [coursenum]''\\
 +Removes the specified race tracks 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\\ 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\\
Line 285: Line 294:
 ''*docombitask [PLAYER] [itemnum1] [itemnum2] [itemnum3]''\\ ''*docombitask [PLAYER] [itemnum1] [itemnum2] [itemnum3]''\\
 Activates a combination task for the player. See [[world_setup:game_features:tasks|Task System Reference]] for more info. \\ Activates a combination task for the player. See [[world_setup:game_features:tasks|Task System Reference]] for more info. \\
- 
-==== *delracetrack ==== 
-''*delracetrack [coursenum]''\\ 
-Removes the specified race tracks from the map. 
  
 ==== *dobuildingtaskparam ==== ==== *dobuildingtaskparam ====
Line 296: Line 301:
 ''*dotaskparam [player] [taskcode/callback] [param1] [param2] [text]''\\ ''*dotaskparam [player] [taskcode/callback] [param1] [param2] [text]''\\
 Starts a generic task with parameters. See the [[world_setup:game_features:tasks|Task System Reference]] for more details. Starts a generic task with parameters. See the [[world_setup:game_features:tasks|Task System Reference]] for more details.
-==== *econstats ==== 
-Prints some (possibly) interesting details about the world's economy. 
-==== *employeequitjob ==== 
-''*employeequitjob [buildingnum] [playername]''\\ 
-Removes an employee from their job at the specified building. This mirrors *removeemployee but this command also adds a 'While You Were Gone..' notification to the player's log (*removeemployee doesnt). 
- 
-==== *eventallbuildingsoftype ==== 
-''*eventallbuildingsoftype type,[event_name][|params]''\\ 
-Triggers a custom event for all buildings on the world of the specified type. 
- 
-==== *eventallinscriptzone ==== 
-''*eventallinscriptzone [ScriptZoneNum] [EventName] [|params]''\\ 
-Triggers a custom script event for all players currently located within the specified script zone. 
- 
-==== *exportitem ==== 
-TBD 
-==== *exportitemadjust ==== 
-TBD 
-==== *exportitemdebug ==== 
-TBD 
-==== *exportpriceset ==== 
-TBD 
- 
 ==== *eao ====  ==== *eao ==== 
 ''*eao [CUSTOM_EVENT_NAME]'' \\ ''*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. \\
 ==== *economy ====  ==== *economy ==== 
- Prints details of the world's economy, such as production times etc. \\+Prints details of the world's economy, such as production times etc. (This command is available to all players by default, the information is aimed at players)\\ 
 +==== *econstats ==== 
 +Prints some (possibly) interesting details about the world's macro-economy. (Aimed more at the world owner) 
 ==== *effect ====  ==== *effect ==== 
 ''*effect [PLAYERNAME] [EFFECT_NUM]''\\ ''*effect [PLAYERNAME] [EFFECT_NUM]''\\
 Triggers a special effect on the specified player. \\ Triggers a special effect on the specified player. \\
 +==== *employeequitjob ====
 +''*employeequitjob [buildingnum] [playername]''\\
 +Removes an employee from their job at the specified building. This mirrors *removeemployee but this command also adds a 'While You Were Gone..' notification to the player's log (*removeemployee doesnt).
 ==== *employeerecount ====  ==== *employeerecount ==== 
 ''*employeerecount'' \\ ''*employeerecount'' \\
Line 342: Line 330:
 ''*eventallbuildings [CUSTOM_EVENT_NAME]'' \\==== * ''*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 \\ Triggers a custom event for all the buildings currently constructed on the world. Note the 'Player' in the script context will be 0 \\
 +==== *eventallbuildingsoftype ====
 +''*eventallbuildingsoftype type,[event_name][|params]''\\
 +Triggers a custom event for all buildings on the world of the specified type.
 +==== *eventallinscriptzone ====
 +''*eventallinscriptzone [ScriptZoneNum] [EventName] [|params]''\\
 +Triggers a custom script event for all players currently located within the specified script zone.
 +
 ==== *eventallonline ==== ==== *eventallonline ====
 ''*eventallonline [CUSTOM_EVENT_NAME]'' \\ ''*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. (See also ***eao** - same command with shorter name for convenience).\\ 
 ==== *eventallresidents ====  ==== *eventallresidents ==== 
 ''*eventallresidents [TOWN_NAME] [CUSTOM_EVENT_NAME]'' \\ ''*eventallresidents [TOWN_NAME] [CUSTOM_EVENT_NAME]'' \\
Line 358: Line 354:
 ''*explodebuilding [BUILDING_NUM]'' \\ ''*explodebuilding [BUILDING_NUM]'' \\
 Causes the building to explode \\ Causes the building to explode \\
 +==== *exportitem ====
 +TBD
 +==== *exportitemadjust ====
 +TBD
 +==== *exportitemdebug ====
 +TBD
 +==== *exportpriceset ====
 +TBD
 +
 +
 ==== fademusic ==== ==== fademusic ====
 ''*fademusic [PLAYER] [Time (Seconds)]'' \\ ''*fademusic [PLAYER] [Time (Seconds)]'' \\
Line 385: Line 391:
 ''*flagsetcapturedest [flagNum] [buildingnum]''\\ ''*flagsetcapturedest [flagNum] [buildingnum]''\\
 Sets the flag capture destination, i.e. the building a flag needs to be taken to for it to be considered 'captured'. See the [[world_setup:game_features:Flags|Flags Reference]] for more info. Sets the flag capture destination, i.e. the building a flag needs to be taken to for it to be considered 'captured'. See the [[world_setup:game_features:Flags|Flags Reference]] for more info.
-==== *globaleffect ==== 
-''*globaleffect [TYPE] [PARAM] [TIME (seconds)]''\\ 
-Adds an effect to the world for the time specified. Currently supported TYPEs are: 
-  * 1: Sandstorm 
-  * 2: Cold/Snowy mist 
-  * 3: 'Spooky' ground mist 
-  * 4: Snow 
-Some effects probably won't work very well (or at all) if your camera view is not relatively close to the player. 
  
-==== *gocrowlocal ==== +==== *flagsreset ==== 
-''*gocrowlocal [PLAYERNAME] [CROWNUM]''\\ +Returns all flags back to their base location (or removes the flag from the world if it doesnt have one).
-This is some sort of system that puts the player in a local version of the RC Drone/Robocrow mode, but does not replicate this state out to other players. Sounds dangerous to me.+
  
 ==== *gag==== ==== *gag====
Line 416: Line 413:
 ==== *getvers==== ==== *getvers====
  Returns the build version number of the current server. \\  Returns the build version number of the current server. \\
 +==== *globaleffect ====
 +''*globaleffect [TYPE] [PARAM] [TIME (seconds)]''\\
 +Adds an effect to the world for the time specified. Currently supported TYPEs are:
 +  * 1: Sandstorm
 +  * 2: Cold/Snowy mist
 +  * 3: 'Spooky' ground mist
 +  * 4: Snow
 +Some effects probably won't work very well (or at all) if your camera view is not relatively close to the player.
 +
 ==== *gocrow ==== ==== *gocrow ====
 ''*gocrow [PLAYER_NAME]''\\ ''*gocrow [PLAYER_NAME]''\\
Line 422: Line 428:
 ''*gocrowall''\\ ''*gocrowall''\\
 Puts all players into robocrow mode \\ Puts all players into robocrow mode \\
 +==== *gocrowlocal ====
 +''*gocrowlocal [PLAYERNAME] [CROWNUM]''\\
 +This is some sort of system that puts the player in a local version of the RC Drone/Robocrow mode, but does not replicate this state out to other players. Sounds dangerous to me.
 ==== *godpm ==== ==== *godpm ====
 ''*godpm [PLAYER_NAME] [TEXT]''\\ ''*godpm [PLAYER_NAME] [TEXT]''\\
Line 450: Line 459:
 ''*grantitemall [QUANTITY] [ITEM_NAME]''\\ ''*grantitemall [QUANTITY] [ITEM_NAME]''\\
 Grants an amount of an item to all players registered on the world.\\ Grants an amount of an item to all players registered on the world.\\
 +==== *grantkudos====  
 +''*grantkudos [PLAYER_NAME] [AMOUNT]''\\
 + Gives kudos to the named player. (Note that this does not automatically replicate to online players, the alternative *setkudos does) \\
 ==== *grantskill ==== ==== *grantskill ====
 ''*grantskill [PLAYER_NAME] [SKILL_NAME]'' \\ ''*grantskill [PLAYER_NAME] [SKILL_NAME]'' \\
  Gives a skill to the named player. \\  Gives a skill to the named player. \\
  
-==== *grantkudos====   
-''*grantkudos [PLAYER_NAME] [AMOUNT]''\\ 
- Gives kudos to the named player. (Note that this does not automatically replicate to online players, the alternative *setkudos does) \\ 
 ==== *grantskillall ==== ==== *grantskillall ====
 ''*grantskillall [SKILL_NAME]''\\ ''*grantskillall [SKILL_NAME]''\\
Line 532: Line 541:
 ''*localisedeffect [type] [worldX] [worldY] [range] [param]''\\ ''*localisedeffect [type] [worldX] [worldY] [range] [param]''\\
 TBD TBD
-==== *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. \\ 
 ==== *lockpublic==== ==== *lockpublic====
  'Locks' public chat so no-one but sysops can talk. (See also, *unlockpublic and *unlockplayerchat) \\   'Locks' public chat so no-one but sysops can talk. (See also, *unlockpublic and *unlockplayerchat) \\ 
 +==== *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. \\
 ==== *lockweapons==== ==== *lockweapons====
  Disables weapons for all players (overriding any other settings). \\  Disables weapons for all players (overriding any other settings). \\
Line 601: Line 610:
 Regenerate the server newspaper. \\ Regenerate the server newspaper. \\
 ==== *notify ==== ==== *notify ====
-''*notify [PLAYER_NAME] [TEXT](|[SUBTEXT])''\\ +''*notify [PLAYER_NAME] [HEADLINE](|[SUBTEXT])''\\ 
-Displays a little bar containing the text that slides in on the left side of the screen, waits a while then fades off. If multiple notify messages are sent they are queued up, giving the player a few seconds to view each. If you add subtext using the | character, this will appear in a box displayed underneath the main bar.+Displays a little bar containing the text that slides in on the left side of the screen, waits a while then fades off. If multiple notify messages are sent they are queued up, giving the player a few seconds to view each. If you add subtext using the | character, this will appear in a box displayed underneath the main bar. Full details on the  notification system (including how you can created scripted notifications) is on the [[world_Setup:game_features:Notifications|Notification System reference]] page.
  
 ==== *notifylarge ==== ==== *notifylarge ====
-''*notifylarge [PLAYER_NAME] [TEXT]''\\+''*notifylarge [PLAYER_NAME] [HEADLINE](|[SUBTEXT])''\\
 Same as *notify above, but the text is larger. Same as *notify above, but the text is larger.
  
Line 617: Line 626:
 ''*onscreentimer [player],[type],[seconds]''\\ ''*onscreentimer [player],[type],[seconds]''\\
 Displays an onscreen timer for the named player for the specified time \\ Displays an onscreen timer for the named player for the specified time \\
 +Type = 0, is a countdown from [seconds]\\
 +Type = 1 counts up from zero (and disappears after [seconds])
 +
 +
 +
 ==== *osdclosewindow====  ==== *osdclosewindow==== 
 ''*osdclosewindow [PLAYER] [PARAM]'' \\ ''*osdclosewindow [PLAYER] [PARAM]'' \\
Line 772: Line 786:
 ==== *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 \\
 +
 +==== *resetallstaticflags====
 +Resets all static / 'crow' flags back to neutral\\
 +
 +
 ==== *resetalltribes==== ==== *resetalltribes====
  Clears the tribe for all players (not just those online) \\  Clears the tribe for all players (not just those online) \\
reference/server_commands/full_command_list.1584093724.txt.gz · Last modified: 2020/03/13 05:02 by mit

Except where otherwise noted, content on this wiki is licensed under the following license: Public Domain
Public Domain Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki