Package com.sijobe.spc.util

Examples of com.sijobe.spc.util.Settings.save()


         player.sendChatMessage("Scuba mode is " + FontColour.AQUA + "enabled");
      } else {
         config.set("scuba", false);
         player.sendChatMessage("Scuba mode is " + FontColour.AQUA + "disabled");
      }
      config.save();
   }
  
   /**
    * @see com.sijobe.spc.core.IPlayerMP#onTick(com.sijobe.spc.wrapper.Player)
    */
 
View Full Code Here


            config.set(CONFIG_KEY, Double.parseDouble((String)params.get(0)));
         } catch (Exception e) {
            throw new CommandException("Could not parse " + (String)params.get(0) + " as a speed.");
         }
      }
      config.save();
      sender.sendMessageToPlayer("Player speed set to " + FontColour.AQUA
               + config.getDouble(CONFIG_KEY, DEFAULT_SPEED) + FontColour.WHITE + "x normal speed");
      }

   /**
 
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.