[PR #679] Command improvements #14337

Open
opened 2026-06-07 12:23:39 +00:00 by Dark98 · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/2006-Scape/2006Scape/pull/679
Author: @ipkpjersi
Created: 5/28/2026
Status: 🔄 Open

Base: masterHead: misc-improvements


📝 Commits (1)

📊 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

  1. ::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).

  2. ::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 1000 is unchanged.

  3. ::npc <name> (npc case, developer group) - resolves an NPC name to an id, then spawns using the existing stat lookup. Numeric ::npc <id> unchanged.

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

  5. ::spellbook [modern|ancient|swap] - modern/normal and ancient/ancients set a specific book; swap/toggle or bare ::spellbook toggles. 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.

## 📋 Pull Request Information **Original PR:** https://github.com/2006-Scape/2006Scape/pull/679 **Author:** [@ipkpjersi](https://github.com/ipkpjersi) **Created:** 5/28/2026 **Status:** 🔄 Open **Base:** `master` ← **Head:** `misc-improvements` --- ### 📝 Commits (1) - [`64f7626`](https://github.com/2006-Scape/2006Scape/commit/64f76268b761f81d9e97625634eb19be335572e6) Command improvements ### 📊 Changes **1 file changed** (+224 additions, -12 deletions) <details> <summary>View changed files</summary> 📝 `2006Scape Server/src/main/java/com/rs2/net/packets/impl/Commands.java` (+224 -12) </details> ### 📄 Description 1. `::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`). 2. `::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 1000` is unchanged. 3. `::npc <name>` (npc case, developer group) - resolves an NPC name to an id, then spawns using the existing stat lookup. Numeric `::npc <id>` unchanged. 4. `::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. 5. `::spellbook [modern|ancient|swap]` - modern/normal and ancient/ancients set a specific book; swap/toggle or bare `::spellbook` toggles. Same sidebar/autocast behavior as before, plus an "already on X" message when no change is needed. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Dark98 added the pull-request label 2026-06-07 12:23:39 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: 2006-Scape/2006Scape#14337