mirror of
https://github.com/2006-Scape/2006Scape.git
synced 2026-07-02 16:49:03 +00:00
[PR #677] Added forcekill command #704
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/677
Author: @ipkpjersi
Created: 2/2/2026
Status: 🔄 Open
Base:
master← Head:add-kill-command📝 Commits (6)
89ce952Added forcekill commandf80260eFixed errorce248c8Fixed forcekill command8f274d4Added forcekill command to commands list305afd3Added logging for forcekill command8feb519Fixed 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.