mirror of
https://github.com/2006-Scape/2006Scape.git
synced 2026-07-02 16:49:03 +00:00
[PR #679] Command improvements #14337
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/2006-Scape/2006Scape/pull/679
Author: @ipkpjersi
Created: 5/28/2026
Status: 🔄 Open
Base:
master← Head:misc-improvements📝 Commits (1)
64f7626Command improvements📊 Changes
1 file changed (+224 additions, -12 deletions)
View changed files
📝
2006Scape Server/src/main/java/com/rs2/net/packets/impl/Commands.java(+224 -12)📄 Description
::tele <city>(tele case) - accepts the SpellTeleport enum cities (varrock, lumbridge, falador, camelot, ardougne, watchtower, trollheim, ape_atoll) alongside the existing::tele x y [z]. Multi-word names work via space or underscore (e.g.::tele ape atoll).::item <name> [amount](item case) - if the first arg isn't numeric, resolves the name to an id (exact match preferred, else first prefix match), with an optional trailing amount. Numeric::item 995 1000is unchanged.::npc <name>(npc case, developer group) - resolves an NPC name to an id, then spawns using the existing stat lookup. Numeric::npc <id>unchanged.::itemsearch <name>(player group, aliases searchitem/finditem) and::npcsearch <name>(developer group, aliases searchnpc/findnpc) - list matching "name - ID: n", capped at 25 results with a total count.::spellbook [modern|ancient|swap]- modern/normal and ancient/ancients set a specific book; swap/toggle or bare::spellbooktoggles. Same sidebar/autocast behavior as before, plus an "already on X" message when no change is needed.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.