Commands: Difference between revisions

1,339 bytes added ,  12 April 2023
m
(updated descriptions)
 
(13 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{TOCright}}
{{TOCright}}
A command is a directive to a computer program to perform a specific task. To use a command in game, simply type the command in chat.
A [[Commands|command]] is a directive to a computer program to perform a specific task. To use a command in game, simply type the command in chat.
==User Level Commands==
==User Level Commands==
All players have access to the following commands.
All players have access to the following commands.
===::claimvote===
===::claimvote===
:If voting rewards are enabled on the server, this command is used to claim vote rewards.
===::close_interface===
===::close_interface===
:This command closes the currently opened interface.
:This command closes the currently opened interface.
Line 12: Line 13:
===::coord(s)/pos/loc===
===::coord(s)/pos/loc===
:Displays coordinates of your character's current position as well as your coordinates within your currently rendered region.
:Displays coordinates of your character's current position as well as your coordinates within your currently rendered region.
===::dataon===
:This command enables/disables debug info. Not to be confused with ::debug/debugmode.
===::debug/debugmode===
===::debug/debugmode===
:This command enables/disables debug level logging.
:This command enables/disables debug level logging.
Line 19: Line 22:
:Renders a low/high quality gfx by ID in front of the character.
:Renders a low/high quality gfx by ID in front of the character.
===::highscores/highscore/hiscores/hiscore===
===::highscores/highscore/hiscores/hiscore===
:This shows the top 10 players for total level, wealth, and total damage.
:This shows the top 10 players for total level, wealth, and damage.
===::link===
===::link===
:This command allows the player to link his account to discord.
:This command allows the player to link his account to discord.
Line 38: Line 41:
===::snow===
===::snow===
:If your current month is December, this command renders falling snowflakes on the player's [[UI]].
:If your current month is December, this command renders falling snowflakes on the player's [[UI]].
===::stuck===
:Teleports your character to Lumbridge. (This command sends a log to Discord to prevent abuse)
===::tele===
===::tele===
:This command lets you teleport to the specified X,Y coordinates. The user must be connected to the game from 127.0.0.1 to use this command. This effectively renders this command to [[Commands#Developer_Level_Commands|developer level]].
:This command lets you teleport to the specified X,Y coordinates. The user must be connected to the game from 127.0.0.1 to use this command. This effectively renders this command to [[Commands#Developer_Level_Commands|developer level]].
Line 43: Line 49:
:This allows the player to toggle the visibility of global messages.
:This allows the player to toggle the visibility of global messages.
===::wealth===
===::wealth===
:Displays the amount of Gold Coins the player has in their bank or inventory.
:Displays the amount of Gold Coins the player has in their bank and inventory.
===::withdrawshop/wshop===
===::withdrawshop/wshop===
:This command allows the player to withdrawal gold from their specified player owned shop.  
:This command allows the player to withdrawal gold from their specified player owned shop.  
Line 52: Line 58:


==Moderator Level Commands==
==Moderator Level Commands==
Moderators have access to these commands as well as any commands listed above.
Moderators have access to these commands as well as any commands listed above. To become a moderator, a developer must promote a player to moderator status using the [[Commands#::givemod|givemod]] command or changing character-rights = 1 within the player save txt file.  
===::ipmute/unipmute===
===::ipmute/unipmute===
:Mutes/unmutes an active player by his ip address for an indefinite duration.
:Mutes/unmutes an active player by his ip address for an indefinite duration.
Line 58: Line 64:
:Kick an active player from the server by their username.
:Kick an active player from the server by their username.
===::mem===
===::mem===
:Displays memory usage in Megabytes (MB) in the chat.  
:Displays Server memory usage in Megabytes (MB) in the chat.  
===::mute/unmute===
===::mute/unmute===
:Mutes an active player by his username for an indefinite duration.
:Mutes an active player by his username for an indefinite duration.
===::update===
===::update===
:Changes tick speed of the game in ms. (default = 600)
:Triggers server update to start in the specified amount of seconds.


==Administrator Level Commands==
==Administrator Level Commands==
Administrators have access to all of the commands listed above as well as the following commands. To become a administrator, a developer must promote a player to administrator status using the [[Commands#::giveadmin|giveadmin]] command or changing character-rights = 2 within the player save txt file.
===::anim===
===::anim===
:Applies an animation by ID to the player's character.
:Applies an animation by ID to the player's character.
Line 80: Line 87:
:Removes all items from inventory.
:Removes all items from inventory.
===::gfx===
===::gfx===
:Renders a low quality gfx by ID in front of the character.
===::hp===
===::hp===
:Gives your character 999,999 HP.
:Gives your character 999,999 HP.
===::interface/int===
===::interface/int===
:Forces an interface based on ID.
:Opens an interface based on ID.
 
===::ipban/unipban===
===::ipban/unipban===
:Bans/unbans a player by his ip address.
:Bans/unbans a player by his ip address.
Line 111: Line 120:


==Developer Level Commands==
==Developer Level Commands==
Developers have access to all the commands available in game. A developer can access these commands by changing their character-rights = 3 within the player save txt file.
===::cameracutscene/ccs===
===::cameracutscene/ccs===
===::cameracutscene2/ccs2===
===::cameracutscene2/ccs2===
Line 132: Line 142:
:Spawns an object with the specified ID at your current location.
:Spawns an object with the specified ID at your current location.
===::object2===
===::object2===
:Spawns an object specifying type "10" with the specified ID at your current location.
===::quicksong===
===::quicksong===
:Sends a QuickSong (e.g. level up music) with specified ID.
===::run===
===::run===
:Sets your run energy to 100.
:Sets your run energy to 100.
===::sidebars===
===::sidebars===
:Refreshes the players gameframe sidebars.
===::song===
===::song===
:Plays a specified song by ID.
===::sound===
===::sound===
:Plays a specified sound by ID.
:Plays a specified sound by ID.
===::tutprog===
===::tutprog===
:Sets the players current tutorial island stage/progress.
899

edits