Najlepsza odpowiedź Capa , 20 May 2014 - 07:08
Otwórz plik factions.jar za pomocą np 7zipa. Wypakuj pliki, i edytuj. np
CmdFactionsSthome.java
@Override public void perform() { // Args Faction faction = this.arg(0, ARFaction.get(usenderFaction), usenderFaction); if (faction == null) return; PS newHome = PS.valueOf(me.getLocation()); // Validate if ( ! UConf.get(faction).homesEnabled) { usender.msg("<b>Sorry, Faction homes are disabled on this server."); return; } // FPerm if ( ! FPerm.SETHOME.has(usender, faction, true)) return; // Verify if (!usender.isUsingAdminMode() && !faction.isValidHome(newHome)) { usender.msg("<b>Sorry, your faction home can only be set inside your own claimed territory."); return; } // Event FactionsEventHomeChange event = new FactionsEventHomeChange(sender, faction, newHome); event.run(); if (event.isCancelled()) return; newHome = event.getNewHome(); // Apply faction.setHome(newHome); // Inform faction.msg("%s<i> set the home for your faction. You can now use:", usender.describeTo(usenderFaction, true)); faction.sendMessage(Factions.get().getOuterCmdFactions().cmdFactionsHome.getUseageTemplate()); if (faction != usenderFaction) { usender.msg("<b>You have set the home for the "+faction.getName(usender)+"<i> faction."); } } }
W ten sposób spolszczysz sobie napisy.
Przejdź do postu