Commands: Difference between revisions

3,691 bytes added ,  12 April 2023
m
(I'll finish the rest later)
 
 
(21 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{TOCright}}
{{TOCright}}
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.
===::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===
===::commands/cmd===
:This makes a short list of commands that are usable by non-developers.
: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===
===::link===
:This command allows the player to link his account to discord.
===::myxprate/checkxprate===
===::myxprate/checkxprate===
===::xprate===
:If the server has variable experience rate enabled, this command allows the player to check their current exp rate.
===::toggleyell/tglyell/hideyell===
===::yell===
===::claimvote===
===::snow===
===::shop===
===::withdrawshop/wshop===
===::closeshop/cshop===
===::wealth===
===::coord(s)/pos/loc===
===::energy===
===::password/changepassword/pwd===
===::password/changepassword/pwd===
===::players/playershops===
: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===
===::prayer===
===::gfx0/gfx100===
:Displays your current prayer level in chat.
===::highscores/highscore/hiscores/hiscore===
:This shows the top 10 players of: total level, wealth, and total damage.
===::close_interface===
===::randomtoggle/togglerandom/random===
===::randomtoggle/togglerandom/random===
:This command enables/disables in-game random events.
:This command enables/disables in-game random events for the player.
===::debug/debugmode===
===::shop===
:This command enables/disables debug level logging.
: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===
===::tele===
:You must be connected to the game from 127.0.0.1 to use this command. This effectively renders this command to 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]].
===::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==
==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===
:Mutes/unmutes an active player by his ip address for an indefinite duration.
===::kick===
===::kick===
:Kick an active player from the server.
:Kick an active player from the server by their username.
===::mem===
: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.
===::ipmute/unipmute===
:Mutes/unmutes an active player by his ip address for an indefinite duration.
===::mem===
:Displays memory usage in Megabytes (MB).
===::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===
: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===
===::clearbank===
:Deletes all items from your bank.
:Deletes all items from your bank.
===::ipban/unipban===
===::dialogue===
:Bans a player by his ip address
:Forces a dialogue based on ID.
===::ban/unban===
===::down/down2===
:Bans a player by his username
:Forces your character to go down one/two floor(s).
===::empty===
===::empty===
:Removes all items from inventory.
:Removes all items from inventory.
===::dialogue===
===::gfx===
:Forces a dialogue based on ID
:Renders a low quality gfx by ID in front of the character.
===::hp===
:Gives your character 999,999 HP.
===::interface/int===
===::interface/int===
:Forces an interface based on ID
:Opens an interface based on ID.
===::gfx===
 
===::anim===
===::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===
===::playnpc/pnpc===
===::mypos===
:Changes your model into specified NPC by ID.
===::bank===
===::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 [[Ancient Magic|Ancients]]. If used with Ancients, it reverts back to modern.
===::telehome===
===::telehome===
:Teleports to [[Lumbridge]].
===::teleto===
===::teleto===
:Teleports to player by the specified player's name.
===::tp/teleport/to===
===::tp/teleport/to===
===::up/up2===
===::up/up2===
:Forces your character to go up one/two floor(s)
:Forces your character to go up one/two floor(s).
===::down/down2===
:Forces your character to go down one/two floor(s)
===::spec===
===::hp===
:Gives your character 999,999 HP
===::pray===
:Gives your character 999,999 Prayer
===::setlevel/level/skill===
:Sets a specified skill to a specified level
===::spellbook===
:Switches your character's current spell book to Ancients. If used with Ancients, it reverts back to modern.
===::item===
:Adds item by ID and quantity to your character's inventory.
===::master===
:Sets specified skill to 99


==Developer Level Commands==
==Developer Level Commands==
===::quicksong===
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.  
:Forces a song to play immediately.
===::cameracutscene/ccs===
===::cameracutscene/ccs===
===::cameracutscene2/ccs===
===::cameracutscene2/ccs2===
===::camerareset/cr===
:Reverts the camera back to default settings. (Removes any cutscenes or camera effects)
===::camerashake===
===::camerashake===
===::camerareset/cr===
: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===
===::clicktotele/ctt===
:Enables/disables teleporting upon clicking.
===::demote===
:Demotes player to specified level of rights.
===::giveadmin===
===::giveadmin===
:Promotes specified player to Admin
:Promotes specified player to Admin.
===::demote===
:Demotes player to specified level of rights
===::givemod===
===::givemod===
:Promotes specified player to Moderator
:Promotes specified player to Moderator.
===::npc===
:Spawns a NPC with the specified ID at your current location.
===::object===
===::object===
:Spawns an object with the specified ID at your current location.
===::object2===
===::object2===
===::npc===
:Spawns an object specifying type "10" with the specified ID at your current location.
===::cantattack===
===::quicksong===
:Forces all NPCs on the map to no longer attack
:Sends a QuickSong (e.g. level up music) with specified ID.
===::sound===
 
:Plays a specified sound
===::tutprog===
===::song===
:Plays a song while respecting the fade out and in durations.
===::run===
===::run===
:Sets your run energy to 100.
:Sets your run energy to 100.
===::sidebars===
===::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.
899

edits