Thread: How do i disable only staking? [pi]

Results 1 to 3 of 3
  1. #1 How do i disable only staking? [pi] 
    Donator

    Anthony's Avatar
    Join Date
    Dec 2007
    Age
    29
    Posts
    1,344
    Thanks given
    198
    Thanks received
    129
    Rep Power
    355
    Hey,
    how do i disable staking in the duel arena ?
    Reply With Quote  
     

  2. #2  
    Registered Member Kota Ko's Avatar
    Join Date
    Aug 2009
    Age
    26
    Posts
    1,040
    Thanks given
    39
    Thanks received
    61
    Rep Power
    39
    tHIS IS EASY
    Reply With Quote  
     

  3. #3  
    ZRPS
    Guest
    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;
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. How to disable following on [PI] 317
    By Treq in forum Help
    Replies: 4
    Last Post: 05-23-2013, 03:18 AM
  2. [508/525] Disable
    By surreal in forum Help
    Replies: 0
    Last Post: 12-04-2010, 02:39 AM
  3. What do I need to disable?
    By ~ Zymus ~ in forum Help
    Replies: 1
    Last Post: 11-02-2009, 05:41 AM
  4. Disable my rep
    By Gluon in forum Forum Related Help
    Replies: 1
    Last Post: 10-03-2009, 05:17 AM
  5. Replies: 3
    Last Post: 04-21-2008, 07:17 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •