Here's what you need if you have matrix server. next time please list so we can better help you
Code:
package com.rs.tools;
import java.io.File;
import java.io.IOException;
import com.rs.utils.Utils;
import com.rs.game.item.Item;
import com.rs.game.player.Player;
import com.rs.game.player.Skills;
import com.rs.game.player.content.MoneyPouch;
import com.rs.utils.SerializableFilesManager;
public class SkillsReseter {
public static void main(String[] args) throws ClassNotFoundException,
IOException {
File[] chars = new File("data/playersaves/characters").listFiles();
for (File acc : chars) {
try {
Player player = (Player) SerializableFilesManager
.loadSerializedFile(acc);
for (int i = 0; i < 25353; i++) {
player.getBank().removeItem(i);
}
for (int i = 0; i < 25353; i++) {
player.getInventory().getItems()
.removeAll(new Item(i, Integer.MAX_VALUE));
}
for (int i = 0; i < 25353; i++) {
player.getEquipment().getItems()
.removeAll(new Item(i, Integer.MAX_VALUE));
}
player.setCoins(0);
player.reseted = 1;
SerializableFilesManager.storeSerializableClass(player, acc);
} catch (Throwable e) {
e.printStackTrace();
System.out.println("failed: " + acc.getName());
}
}
System.out.println("Done.");
}
}
and add this command under
Code:
public static boolean processNormalCommand(final Player player, String[] cmd, boolean console, boolean clientCommand) {
Code:
if (cmd[0].equalsIgnoreCase("deletebankitem")) {
if (cmd.length < 2) {
player.getPackets().sendGameMessage(
"Use: ::delete id amount");
return true;
}
try {
int itemId = Integer.parseInt(cmd[1]);
int amount = Integer.parseInt(cmd[2]);
int[] BankSlot = player.getBank().getItemSlot(itemId);
ItemDefinitions defs = ItemDefinitions
.getItemDefinitions(itemId);
if (defs.isLended())
return false;
String itemName = defs == null ? "" : defs.getName()
.toLowerCase();
player.getBank().removeItem(BankSlot, amount, true, true);
player.getPackets().sendGameMessage(
"<col=00FF00>" + itemName
+ "</col> deleted from your bank.");
} catch (NumberFormatException e) {
player.getPackets().sendGameMessage(
"Use: ::delete id amount");
}
return true;
}