Commands

Revision as of 22:18, 9 February 2023 by Dark98 (talk | contribs)

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

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.

::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 total 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.

::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

Forces 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(eg Level Up Music) with specified ID

::run

Sets your run energy to 100.

::sidebars

ReSends/Refreshs 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