tHIS IS EASY
|
Hey,
how do i disable staking in the duel arena ?
For total dueling disable:
Go to tradeandduel.java
in the "requestduel" method put.
if(Config.dueldisabled){
c.sendMessage("Duel is currently disabled");
return;
}
then go into your config class and declare:
public static final boolean dueldisabled = true;
for only staking:
In tradeandduel.java
seardch for: stakeitem
in the method put
if(Config.stakedisabled){
whatevermessageyouwanthere
return false;
}
declare in config.java:
public static final boolean stakedisabled = true;
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |