[PR #677] Added forcekill command #14336

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

📋 Pull Request Information

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

Base: masterHead: add-kill-command


📝 Commits (6)

  • 89ce952 Added forcekill command
  • f80260e Fixed error
  • ce248c8 Fixed forcekill command
  • 8f274d4 Added forcekill command to commands list
  • 305afd3 Added logging for forcekill command
  • 8feb519 Fixed forcekill logging

📊 Changes

4 files changed (+135 additions, -4 deletions)

View changed files

📝 2006Scape Server/src/main/java/com/rs2/game/dialogues/DialogueHandler.java (+11 -0)
📝 2006Scape Server/src/main/java/com/rs2/game/dialogues/DialogueOptions.java (+59 -3)
📝 2006Scape Server/src/main/java/com/rs2/game/players/Player.java (+9 -0)
📝 2006Scape Server/src/main/java/com/rs2/net/packets/impl/Commands.java (+56 -1)

📄 Description

This will help with players stuck in the wilderness. If they are skulled they will lose all their items (or all but 1 item if protecting item), if they are unskulled they will lose all items but 3 (or all but 4 items if protecting item).

This works well from my testing.

I'd also like to add some other commands in the future, only for administrators/developers, such as:

-Adding city names to ::tele command as possible args
-Adding item and NPC names to ::item and ::npc commands
-Adding ::itemsearch and ::npcsearch to show item and NPC IDs
-Adding ::spellbook swap command to quickly swap spellbooks

That's all I can think of off the top of my head but those might be nice to have.


🔄 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/677 **Author:** [@ipkpjersi](https://github.com/ipkpjersi) **Created:** 2/2/2026 **Status:** 🔄 Open **Base:** `master` ← **Head:** `add-kill-command` --- ### 📝 Commits (6) - [`89ce952`](https://github.com/2006-Scape/2006Scape/commit/89ce952e1cbf70812d37c7b8b0c7d9940077754c) Added forcekill command - [`f80260e`](https://github.com/2006-Scape/2006Scape/commit/f80260e5f151c34539c3f8e261530cd1e72c8023) Fixed error - [`ce248c8`](https://github.com/2006-Scape/2006Scape/commit/ce248c8d06758761d8ab41a559371af39a516873) Fixed forcekill command - [`8f274d4`](https://github.com/2006-Scape/2006Scape/commit/8f274d4578537fb1ccddac60aef7f8c9199cd3ec) Added forcekill command to commands list - [`305afd3`](https://github.com/2006-Scape/2006Scape/commit/305afd3e36ee6443387366bc24bb464cd99a77aa) Added logging for forcekill command - [`8feb519`](https://github.com/2006-Scape/2006Scape/commit/8feb5196532a58e93ef59a9517ef84e9bfca24dd) Fixed forcekill logging ### 📊 Changes **4 files changed** (+135 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `2006Scape Server/src/main/java/com/rs2/game/dialogues/DialogueHandler.java` (+11 -0) 📝 `2006Scape Server/src/main/java/com/rs2/game/dialogues/DialogueOptions.java` (+59 -3) 📝 `2006Scape Server/src/main/java/com/rs2/game/players/Player.java` (+9 -0) 📝 `2006Scape Server/src/main/java/com/rs2/net/packets/impl/Commands.java` (+56 -1) </details> ### 📄 Description This will help with players stuck in the wilderness. If they are skulled they will lose all their items (or all but 1 item if protecting item), if they are unskulled they will lose all items but 3 (or all but 4 items if protecting item). This works well from my testing. I'd also like to add some other commands in the future, only for administrators/developers, such as: -Adding city names to ::tele command as possible args -Adding item and NPC names to ::item and ::npc commands -Adding ::itemsearch and ::npcsearch to show item and NPC IDs -Adding ::spellbook swap command to quickly swap spellbooks That's all I can think of off the top of my head but those might be nice to have. --- <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:38 +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#14336