Commands: Difference between revisions

From 2006Scape Wiki
Jump to navigation Jump to search
m (added descriptions about how to access each level of rights)
 
(10 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 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.  
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 81: 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 134: 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.

Latest revision as of 02:31, 12 April 2023

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.

User Level Commands

All players have access to the following commands.

::claimvote

If voting rewards are enabled on the server, this command is used to claim vote rewards.

::close_interface

This command closes the currently opened interface.

::closeshop/cshop

This command allows the player to close one of their shops by name.

::commands/cmd

This makes a short list of commands that are usable by non-developers.

::coord(s)/pos/loc

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

This command enables/disables debug level logging.

::energy

Displays your current energy in chat.

::gfx0/gfx100

Renders a low/high quality gfx by ID in front of the character.

::highscores/highscore/hiscores/hiscore

This shows the top 10 players for total level, wealth, and damage.

::link

This command allows the player to link his account to discord.

::myxprate/checkxprate

If the server has variable experience rate enabled, this command allows the player to check their current exp rate.

::password/changepassword/pwd

This command allows the player to change his or her password.

::players

Pulls up an interface showing all players in the current world.

::playershops

Opens up an interface showing all the shops created by players in the current world.

::prayer

Displays your current prayer level in chat.

::randomtoggle/togglerandom/random

This command enables/disables in-game random events for the player.

::shop

Brings up the shop chat dialogue to help the player set up or close down a player owned shop.

::snow

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

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 developer level.

::toggleyell/tglyell/hideyell

This allows the player to toggle the visibility of global messages.

::wealth

Displays the amount of Gold Coins the player has in their bank and inventory.

::withdrawshop/wshop

This command allows the player to withdrawal gold from their specified player owned shop.

::xprate

If variable exp rate is enabled on the server, this command allows the player to increase (but not decrease) their XP rate.

::yell

Allows you to send your message globally rather than locally.

Moderator Level Commands

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 givemod command or changing character-rights = 1 within the player save txt file.

::ipmute/unipmute

Mutes/unmutes an active player by his ip address for an indefinite duration.

::kick

Kick an active player from the server by their username.

::mem

Displays Server memory usage in Megabytes (MB) in the chat.

::mute/unmute

Mutes an active player by his username for an indefinite duration.

::update

Triggers server update to start in the specified amount of seconds.

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 giveadmin command or changing character-rights = 2 within the player save txt file.

::anim

Applies an animation by ID to the player's character.

::ban/unban

Bans/ubans a player by his username.

::bank

Opens up bank interface from anywhere.

::clearbank

Deletes all items from your bank.

::dialogue

Forces a dialogue based on ID.

::down/down2

Forces your character to go down one/two floor(s).

::empty

Removes all items from inventory.

::gfx

Renders a low quality gfx by ID in front of the character.

::hp

Gives your character 999,999 HP.

::interface/int

Opens an interface based on ID.

::ipban/unipban

Bans/unbans a player by his ip address.

::item

Adds item by ID and quantity to your character's inventory.

::master

Sets all skills to 99.

::mypos

Displays your current position in X,Y,H in chat.

::playnpc/pnpc

Changes your model into specified NPC by ID.

::pray

Gives your character 999,999 Prayer.

::setlevel/level/skill

Sets a specified skill to a specified level.

::spec

Sets special attack to 100.

::spellbook

Switches your character's current spell book to Ancients. If used with Ancients, it reverts back to modern.

::telehome

Teleports to Lumbridge.

::teleto

Teleports to player by the specified player's name.

::tp/teleport/to

::up/up2

Forces your character to go up one/two floor(s).

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

::cameracutscene2/ccs2

::camerareset/cr

Reverts the camera back to default settings. (Removes any cutscenes or camera effects)

::camerashake

Toggles camera shaking on. (use ::camerareset or ::cr to turn this off)

::cantattack

Toggles all NPCs on the map to no longer attack.

::clicktotele/ctt

Enables/disables teleporting upon clicking.

::demote

Demotes player to specified level of rights.

::giveadmin

Promotes specified player to Admin.

::givemod

Promotes specified player to Moderator.

::npc

Spawns a NPC with the specified ID at your current location.

::object

Spawns an object with the specified ID at your current location.

::object2

Spawns an object specifying type "10" with the specified ID at your current location.

::quicksong

Sends a QuickSong (e.g. level up music) with specified ID.

::run

Sets your run energy to 100.

::sidebars

Refreshes the players gameframe sidebars.

::song

Plays a specified song by ID.

::sound

Plays a specified sound by ID.

::tutprog

Sets the players current tutorial island stage/progress.