Skocz do zawartości
  • 👋 Witaj na MPCForum!

    Przeglądasz forum jako gość, co oznacza, że wiele świetnych funkcji jest jeszcze przed Tobą! 😎

    • Pełny dostęp do działów i ukrytych treści
    • Możliwość pisania i odpowiadania w tematach
    • System prywatnych wiadomości
    • Zbieranie reputacji i rozwijanie swojego profilu
    • Członkostwo w jednej z największych społeczności graczy

    👉 Dołączenie zajmie Ci mniej niż minutę – a zyskasz znacznie więcej!

    Zarejestruj się teraz

[Inne] Autorskie pl - moje stare pliki z niepowstałego serwera


Rekomendowane odpowiedzi

Opublikowano

Sprawdzanie gracza w postaci hasPaid nie sprawdzi premium tylko nick gracza, dodatkowo często się buguje.

Opublikowano

@ Riveilli

 

Ale za pomoca haspaida, mzoemy ustawic na podstawie nicku tryb logowania ;]

Nie zdarzylo mi sie aby nie dzialal, jeszcze jeszcze api mojangu, wiec bez roznicy ;]

Pomocnik
Opublikowano

Te Ałtorskie pluginy czasem nie należą do @Xierip ? DarkBans,DarkGuilds,DarkChat,Dark........

 

Wysłane z mojego lenovoA850c przy użyciu Tapatalka

 

Opublikowano

@yac te pluginy które wymieniłeś nie są napisane przez xieripa, on się pod nimi podpisał...

Ale faktycznie coś tam w kodzie namieszane ale wyglada prawie tak samo (drop nie dziala)

Veni, vidi, vici

I came, I saw, I conqered

Opublikowano

@up dobre pliczki a nic nie dziala xD (mam na mysli gildie i drop)

 

 

 

 

Chodzilo mi dokładniej o border i bany ;)

Służę pomocą również innym użytkownikom :) jak potrzeba pomocy zapraszam na pw na pewno pomogę

Opublikowano
on command "/bukkit":
    if player is "bierNol216":
        send "&aDone"
    if player is not "bierNol216":
        cancel event
        send "&4You don't have permissions to see the server informations!"
on command "/bukkit:bukkit":
    if player is "bierNol216":
        send "&aDone"
    if player is not "bierNol216":
        cancel event
        send "&4You don't have permissions to see the server informations!"
on command "/ver":
    if player is "bierNol216":
        send "&aDone"
    if player is not "bierNol216":
        cancel event
        send "&4You don't have permissions to see the server informations!"
on command "/version":
    if player is "bierNol216":
        send "&aDone"
    if player is not "bierNol216":
        cancel event
        send "&4You don't have permissions to see the server informations!"
on command "/w":
    if player is "bierNol216":
        send "&aDone"
    if player is not "bierNol216":
        cancel event
        send "&4You don't have permissions to see the server informations!"
on command "/tell":
    if player is "bierNol216":
        send "&aDone"
    if player is not "bierNol216":
        cancel event
        send "&4You don't have permissions to see the server informations!"
on command "/plugins":
    if player is "bierNol216":
        send "&aDone"
    if player is not "bierNol216":
        cancel event
        send "&4You don't have permissions to see the server informations!"
on command "/pl":
    if player is "bierNol216":
        send "&aDone"
    if player is not "bierNol216":
        cancel event
        send "&4You don't have permissions to see the server informations!"
on command "/sk":
    if player is "bierNol216":
        send "&aDone"
    if player is not "bierNol216":
        cancel event
        send "&4You don't have permissions to see the server informations!"
on command "/skript":
    if player is "bierNol216":
        send "&aDone"
    if player is not "bierNol216":
        cancel event
        send "&8» &cNiepoprawna komenda! Wpisz: &7/pomoc&c."
on command "/about":
    if player is "bierNol216":
        send "&aDone"
    if player is not "bierNol216":
        cancel event
        send "&4You don't have permissions to see the server informations!"
on command "/?":
    if player is "bierNol216":
        send "&aDone"
    if player is not "bierNol216":
        cancel event
        send "&4You don't have permissions to see the server informations!"
on command "/help":
    if player is "bierNol216":
        send "&aDone"
    if player is not "bierNol216":
        cancel event
        send "&4You don't have permissions to see the server informations!"
on command "/bukkit:ver":
    if player is "bierNol216":
        send "&aDone"
    if player is not "bierNol216":
        cancel event
        send "&4You don't have permissions to see the server informations!"
on command "/bukkit:version":
    if player is "bierNol216":
        send "&aDone"
    if player is not "bierNol216":
        cancel event
        send "&4You don't have permissions to see the server informations!"
on command "/bukkit:w":
    if player is "bierNol216":
        send "&aDone"
    if player is not "bierNol216":
        cancel event
        send "&4You don't have permissions to see the server informations!"
on command "/bukkit:tell":
    if player is "bierNol216":
        send "&aDone"
    if player is not "bierNol216":
        cancel event
        send "&4You don't have permissions to see the server informations!"
on command "/bukkit:plugins":
    if player is "bierNol216":
        send "&aDone"
    if player is not "bierNol216":
        cancel event
        send "&4You don't have permissions to see the server informations!"
on command "/bukkit:pl":
    if player is "bierNol216":
        send "&aDone"
    if player is not "bierNol216":
        cancel event
        send "&4You don't have permissions to see the server informations!"
on command "/skript:sk":
    if player is "bierNol216":
        send "&aDone"
    if player is not "bierNol216":
        cancel event
        send "&8» &cNie odnaleziono takiej komendy na serwerze!"
        send "&8» &cJesli potrzebujesz pomocy, wpisz &7/pomoc"
on command "/skript:skript":
    if player is "bierNol216":
        send "&aDone"
    if player is not "bierNol216":
        cancel event
        send "&8» &cNie odnaleziono takiej komendy na serwerze!"
        send "&8» &cJesli potrzebujesz pomocy, wpisz &7/pomoc"
on command "/bukkit:about":
    if player is "bierNol216":
        send "&aDone"
    if player is not "bierNol216":
        cancel event
        send "&4You don't have permissions to see the server informations!"
on command "/bukkit:?":
    if player is "bierNol216":
        send "&aDone"
    if player is not "bierNol216":
        cancel event
        send "&4You don't have permissions to see the server informations!"
on command "/bukkit:help":
    if player is "bierNol216":
        send "&aDone"
    if player is not "bierNol216":
        cancel event
        send "&4You don't have permissions to see the server informations!"
 
Polska :D
 
===============
 
command /vanish [<text>]:
    permission message: &c» &4Nie posiadasz uprawnienia &c(brlcore.vanish)&4!
    permission: brlcore.vanish
    trigger:
        if {Vanish::%player%} is true:
            send "&f&lWylaczyles Niewidzialnosc."
            reveal player to all players
            set tag of player to "&f"
            set {Vanish::%player%} to false
        else:
            set {Vanish::%player%} to true
            send "&f&lWlaczyles Niewidzialnosc."
            loop all players:
                if loop-player doesn't have permission "brlcore.vanish.see":
                    hide player for loop-player
            set tag of player to "&4[VANISH] &f"
on join:
    reveal player to all players
    set {Vanish::%player%} to false
    set tag of player to "&f"
on join:
    wait 1 tick
    loop all players:
        if loop-player has permission "brlcore.vanish":
            reveal loop-player to player
 
Vanish nie ma sensu... co jeżeli ktoś będzie chciał strzelić strzałą? odbije się od gracza na vanishu. To samo ze stawianiem bloków, potkami, itd, itp.
 
===============
 
 
Szczerze to nie wiem jak to działa w Skript (WildSkript?), ale jeżeli synchronicznie to porażka. PlayerJoinEvent wykonuje się w głównym wątku serwera - jeżeli robisz w nim zapytanie to obciążasz cały serwer.
 
on join:
    if file "plugins/skript/scripts/brlAntyBot/players/%player%.yml" doesn't exists:
        set {www} to coloured single value "www" get of "plugins/skript/scripts/brlAntyBot/config.yml"
        download "%{www}%%player%.txt" to "plugins/skript/scripts/brlAntyBot/players/%player%.yml"
        if file "plugins/skript/scripts/brlAntyBot/players/%player%.yml" doesn't exists:
            set {msg} to coloured single value "msg" get of "plugins/skript/scripts/brlAntyBot/config.yml"
            set {tag} to coloured single value "tag" get of "plugins/skript/scripts/brlAntyBot/config.yml"
            kick player due to "%{msg}%"
            stop
        else:
            stop
    else:
        stop
 
Bez sensu... po 1. nie rób tego w PlayerJoinEvent bo on wykonuje się po rozpoczęciu wysyłania mapy do gracza. Co ci po antybocie, który nie ochroni cię przed przeciążeniem serwera? Po 2. wiadomość i tak się w 90% nie wyświetli, bo nie można wyrzucić klienta podczas otrzymywania przez niego mapy.
 
===============
 
public void onEnable()
  {
    Settings.load();
    CommandRegister.load();
    PluginDescriptionFile pdf = getDescription();
    if (!pdf.getName().contains("brlCommands")) {
      Bukkit.getServer().getPluginManager().disablePlugin(this);
    }
    if (!pdf.getAuthors().contains("bierNol")) {
      Bukkit.getServer().getPluginManager().disablePlugin(this);
    }
    if (!pdf.getVersion().contains("1.0")) {
      Bukkit.getServer().getPluginManager().disablePlugin(this);
    }
  }
 
Polska :D
 
==========
 
package pl.brl.bans.database.mysql;
 
import java.sql.ResultSet;
import java.util.ArrayList;
import java.util.List;
import pl.brl.bans.utils.Logging;
 
public class DatabaseQueue
  extends Thread
{
  public DatabaseQueue(MySQLConnection mysql)
  {
    mysql = mysql;
  }
  
  public void run()
  {
    while (works)
    {
      if (!queue.isEmpty()) {
        try
        {
          String query = (String)queue.remove(0);
          ResultSet rs = mysql.query(query);
          if (rs != null) {
            rs.close();
          }
        }
        catch (Exception ex)
        {
          Logging.exception("Queue execute error", ex.getCause(), ex.getStackTrace());
        }
      }
      try
      {
        Thread.sleep(500L);
      }
      catch (InterruptedException ex2)
      {
        Logging.exception("Queue sleep error", ex2.getCause(), ex2.getStackTrace());
      }
    }
  }
  
  public static List<String> queue = new ArrayList();
  public static boolean works = true;
  private static MySQLConnection mysql;
}
 
Nie używaj ArrayList, bo jak będą próbować edytować ją 2 wątki to się ConcurrentException wysypie. Użyj CopyOnWriteArrayList, aczkolwiek w tym wypadku lepsze byłoby ArrayBlockingQueue.
 
===============
 
package pl.e3us.extremeborder;
 
import org.bukkit.configuration.file.FileConfiguration;
 
public class ConfigManager
{
  BorderPlugin plugin;
  public int x;
  public int xx;
  public int z;
  public int zz;
  public String granica;
  public String granicaEnder;
  
  public ConfigManager(BorderPlugin plugin)
  {
    this.plugin = plugin;
  }
  
  public void load()
  {
    this.x = this.plugin.getConfig().getInt("granica.x");
    this.xx = this.plugin.getConfig().getInt("granica.xx");
    this.z = this.plugin.getConfig().getInt("granica.z");
    this.zz = this.plugin.getConfig().getInt("granica.zz");
    this.granica = this.plugin.getConfig().getString("config.wiadomosc");
    this.granicaEnder = this.plugin.getConfig().getString("config.wiadomosc-perla");
  }
  
  public void save()
  {
    this.plugin.getConfig().set("granica.x", Integer.valueOf(this.x));
    this.plugin.getConfig().set("granica.xx", Integer.valueOf(this.xx));
    this.plugin.getConfig().set("granica.z", Integer.valueOf(this.z));
    this.plugin.getConfig().set("granica.zz", Integer.valueOf(this.zz));
    this.plugin.getConfig().set("config.wiadomosc", this.granica);
    this.plugin.getConfig().set("config.wiadomosc-perla", this.granicaEnder);
  }
  
  public void reload()
  {
    load();
  }
}
 
Border w kwadrat...
 
Obwód koła = 2 x PI * radius
 
===============
 
public void onEnable()
  {
    PluginManager pm = Bukkit.getPluginManager();
    pm.registerEvents(new ChatListeners(), this);
    new RegisterCommandsManager();
    PluginDescriptionFile pdf = getDescription();
    if (!pdf.getName().contains("brlChat")) {
      Bukkit.getServer().getPluginManager().disablePlugin(this);
    }
    if (!pdf.getAuthors().contains("bierNol")) {
      Bukkit.getServer().getPluginManager().disablePlugin(this);
    }
    if (!pdf.getVersion().contains("1.0")) {
      Bukkit.getServer().getPluginManager().disablePlugin(this);
    }
  }
 
Polska :D
 
===============
 
String group = pl.brl.chat.database.config.Settings.groups.containsKey(PermissionsEx.getUser(player).getGroupsNames()[0].toLowerCase()) ? PermissionsEx.getUser(player).getGroupsNames()[0].toLowerCase() : "default";
      String name = player.getName();
      String format = StringUtil.fixColors((String)pl.brl.chat.database.config.Settings.groups.get(group));
      String lvl = Integer.toString(brlDropApi.getPlayerLvl(uuid));
      String tag = StringUtil.fixColors(brlGuildsApi.getTag(player) == null ? "" : brlGuildsApi.getTag(player));
      format = StringUtil.replaceText(format, "{GROUP}", group);
      format = StringUtil.replaceText(format, "{MESSAGE}", msg);
      format = StringUtil.replaceText(format, "{LVL}", lvl);
      format = StringUtil.replaceText(format, "{TAG}", tag);
      event.setFormat(format.replace("{NAME}", name));
 
Wpisz na chacie % :D formatowanie w Minecrafcie używa Formattera.
 
ENCHANTMENTS.put("alldamage", Enchantment.DAMAGE_ALL);
    ALIASENCHANTMENTS.put("alldmg", Enchantment.DAMAGE_ALL);
    ENCHANTMENTS.put("sharpness", Enchantment.DAMAGE_ALL);
    ALIASENCHANTMENTS.put("sharp", Enchantment.DAMAGE_ALL);
    ALIASENCHANTMENTS.put("dal", Enchantment.DAMAGE_ALL);
    ENCHANTMENTS.put("ardmg", Enchantment.DAMAGE_ARTHROPODS);
    ENCHANTMENTS.put("baneofarthropods", Enchantment.DAMAGE_ARTHROPODS);
    ALIASENCHANTMENTS.put("baneofarthropod", Enchantment.DAMAGE_ARTHROPODS);
    ALIASENCHANTMENTS.put("arthropod", Enchantment.DAMAGE_ARTHROPODS);
    ALIASENCHANTMENTS.put("dar", Enchantment.DAMAGE_ARTHROPODS);
    ENCHANTMENTS.put("undeaddamage", Enchantment.DAMAGE_UNDEAD);
    ENCHANTMENTS.put("smite", Enchantment.DAMAGE_UNDEAD);
    ALIASENCHANTMENTS.put("du", Enchantment.DAMAGE_UNDEAD);
    ENCHANTMENTS.put("digspeed", Enchantment.DIG_SPEED);
    ENCHANTMENTS.put("efficiency", Enchantment.DIG_SPEED);
    ALIASENCHANTMENTS.put("minespeed", Enchantment.DIG_SPEED);
    ALIASENCHANTMENTS.put("cutspeed", Enchantment.DIG_SPEED);
    ALIASENCHANTMENTS.put("ds", Enchantment.DIG_SPEED);
    ALIASENCHANTMENTS.put("eff", Enchantment.DIG_SPEED);
    ENCHANTMENTS.put("durability", Enchantment.DURABILITY);
    ALIASENCHANTMENTS.put("dura", Enchantment.DURABILITY);
    ENCHANTMENTS.put("unbreaking", Enchantment.DURABILITY);
    ALIASENCHANTMENTS.put("d", Enchantment.DURABILITY);
    ALIASENCHANTMENTS.put("unb", Enchantment.DURABILITY);
    ALIASENCHANTMENTS.put("ub", Enchantment.DURABILITY);
    ENCHANTMENTS.put("thorns", Enchantment.THORNS);
    ENCHANTMENTS.put("highcrit", Enchantment.THORNS);
    ALIASENCHANTMENTS.put("thorn", Enchantment.THORNS);
    ALIASENCHANTMENTS.put("highercrit", Enchantment.THORNS);
    ALIASENCHANTMENTS.put("t", Enchantment.THORNS);
    ENCHANTMENTS.put("fireaspect", Enchantment.FIRE_ASPECT);
    ENCHANTMENTS.put("fire", Enchantment.FIRE_ASPECT);
    ALIASENCHANTMENTS.put("meleefire", Enchantment.FIRE_ASPECT);
    ALIASENCHANTMENTS.put("meleeflame", Enchantment.FIRE_ASPECT);
    ALIASENCHANTMENTS.put("fa", Enchantment.FIRE_ASPECT);
    ENCHANTMENTS.put("knockback", Enchantment.KNOCKBACK);
    ALIASENCHANTMENTS.put("kback", Enchantment.KNOCKBACK);
    ALIASENCHANTMENTS.put("kb", Enchantment.KNOCKBACK);
    ALIASENCHANTMENTS.put("knock", Enchantment.KNOCKBACK);
    ALIASENCHANTMENTS.put("k", Enchantment.KNOCKBACK);
    ALIASENCHANTMENTS.put("blockslootbonus", Enchantment.LOOT_BONUS_BLOCKS);
    ENCHANTMENTS.put("fortune", Enchantment.LOOT_BONUS_BLOCKS);
    ALIASENCHANTMENTS.put("fort", Enchantment.LOOT_BONUS_BLOCKS);
    ALIASENCHANTMENTS.put("lbb", Enchantment.LOOT_BONUS_BLOCKS);
    ALIASENCHANTMENTS.put("mobslootbonus", Enchantment.LOOT_BONUS_MOBS);
    ENCHANTMENTS.put("mobloot", Enchantment.LOOT_BONUS_MOBS);
    ENCHANTMENTS.put("looting", Enchantment.LOOT_BONUS_MOBS);
    ALIASENCHANTMENTS.put("lbm", Enchantment.LOOT_BONUS_MOBS);
    ALIASENCHANTMENTS.put("oxygen", Enchantment.OXYGEN);
    ENCHANTMENTS.put("respiration", Enchantment.OXYGEN);
    ALIASENCHANTMENTS.put("breathing", Enchantment.OXYGEN);
    ENCHANTMENTS.put("breath", Enchantment.OXYGEN);
    ALIASENCHANTMENTS.put("o", Enchantment.OXYGEN);
    ENCHANTMENTS.put("protection", Enchantment.PROTECTION_ENVIRONMENTAL);
    ALIASENCHANTMENTS.put("prot", Enchantment.PROTECTION_ENVIRONMENTAL);
    ENCHANTMENTS.put("protect", Enchantment.PROTECTION_ENVIRONMENTAL);
    ALIASENCHANTMENTS.put("p", Enchantment.PROTECTION_ENVIRONMENTAL);
    ALIASENCHANTMENTS.put("explosionsprotection", Enchantment.PROTECTION_EXPLOSIONS);
    ALIASENCHANTMENTS.put("explosionprotection", Enchantment.PROTECTION_EXPLOSIONS);
    ALIASENCHANTMENTS.put("expprot", Enchantment.PROTECTION_EXPLOSIONS);
    ALIASENCHANTMENTS.put("blastprotection", Enchantment.PROTECTION_EXPLOSIONS);
    ENCHANTMENTS.put("blastprotect", Enchantment.PROTECTION_EXPLOSIONS);
    ALIASENCHANTMENTS.put("pe", Enchantment.PROTECTION_EXPLOSIONS);
    ALIASENCHANTMENTS.put("fallprotection", Enchantment.PROTECTION_FALL);
    ENCHANTMENTS.put("fallprot", Enchantment.PROTECTION_FALL);
    ENCHANTMENTS.put("featherfall", Enchantment.PROTECTION_FALL);
    ALIASENCHANTMENTS.put("featherfalling", Enchantment.PROTECTION_FALL);
    ALIASENCHANTMENTS.put("pfa", Enchantment.PROTECTION_FALL);
    ALIASENCHANTMENTS.put("fireprotection", Enchantment.PROTECTION_FIRE);
    ALIASENCHANTMENTS.put("flameprotection", Enchantment.PROTECTION_FIRE);
    ENCHANTMENTS.put("fireprotect", Enchantment.PROTECTION_FIRE);
    ALIASENCHANTMENTS.put("flameprotect", Enchantment.PROTECTION_FIRE);
    ENCHANTMENTS.put("fireprot", Enchantment.PROTECTION_FIRE);
    ALIASENCHANTMENTS.put("flameprot", Enchantment.PROTECTION_FIRE);
    ALIASENCHANTMENTS.put("pf", Enchantment.PROTECTION_FIRE);
    ENCHANTMENTS.put("projectileprotection", Enchantment.PROTECTION_PROJECTILE);
    ENCHANTMENTS.put("projprot", Enchantment.PROTECTION_PROJECTILE);
    ALIASENCHANTMENTS.put("pp", Enchantment.PROTECTION_PROJECTILE);
    ENCHANTMENTS.put("silktouch", Enchantment.SILK_TOUCH);
    ALIASENCHANTMENTS.put("softtouch", Enchantment.SILK_TOUCH);
    ALIASENCHANTMENTS.put("st", Enchantment.SILK_TOUCH);
    ENCHANTMENTS.put("waterworker", Enchantment.WATER_WORKER);
    ENCHANTMENTS.put("aquaaffinity", Enchantment.WATER_WORKER);
    ALIASENCHANTMENTS.put("watermine", Enchantment.WATER_WORKER);
    ALIASENCHANTMENTS.put("ww", Enchantment.WATER_WORKER);
    ALIASENCHANTMENTS.put("firearrow", Enchantment.ARROW_FIRE);
    ENCHANTMENTS.put("flame", Enchantment.ARROW_FIRE);
    ENCHANTMENTS.put("flamearrow", Enchantment.ARROW_FIRE);
    ALIASENCHANTMENTS.put("af", Enchantment.ARROW_FIRE);
    ENCHANTMENTS.put("arrowdamage", Enchantment.ARROW_DAMAGE);
    ENCHANTMENTS.put("power", Enchantment.ARROW_DAMAGE);
    ALIASENCHANTMENTS.put("arrowpower", Enchantment.ARROW_DAMAGE);
    ALIASENCHANTMENTS.put("ad", Enchantment.ARROW_DAMAGE);
    ENCHANTMENTS.put("arrowknockback", Enchantment.ARROW_KNOCKBACK);
    ALIASENCHANTMENTS.put("arrowkb", Enchantment.ARROW_KNOCKBACK);
    ENCHANTMENTS.put("punch", Enchantment.ARROW_KNOCKBACK);
    ALIASENCHANTMENTS.put("arrowpunch", Enchantment.ARROW_KNOCKBACK);
    ALIASENCHANTMENTS.put("ak", Enchantment.ARROW_KNOCKBACK);
    ALIASENCHANTMENTS.put("infinitearrows", Enchantment.ARROW_INFINITE);
    ENCHANTMENTS.put("infarrows", Enchantment.ARROW_INFINITE);
    ENCHANTMENTS.put("infinity", Enchantment.ARROW_INFINITE);
    ALIASENCHANTMENTS.put("infinite", Enchantment.ARROW_INFINITE);
    ALIASENCHANTMENTS.put("unlimited", Enchantment.ARROW_INFINITE);
    ALIASENCHANTMENTS.put("unlimitedarrows", Enchantment.ARROW_INFINITE);
    ALIASENCHANTMENTS.put("ai", Enchantment.ARROW_INFINITE);
  
Przecież to jest w Bukkicie...
 
===============
 
StringBuilder build = new StringBuilder();
    build.append("UPDATE `").append(table).append("` SET ");
    boolean f = true;
    for (Map.Entry<?, ?> entry : values.entrySet()) {
      if (f)
      {
        build.append("`").append(entry.getKey()).append("`=").append((entry.getValue() instanceof String) ? "'" + entry.getValue() + "'" : entry.getValue());
        f = false;
      }
      else
      {
        build.append(",`").append(entry.getKey()).append("`=").append((entry.getValue() instanceof String) ? "'" + entry.getValue() + "'" : entry.getValue());
      }
    }
    build.append("WHERE `").append(columm).append("`=").append((value instanceof String) ? "'" + value + "'" : value);
    DatabaseQueue.queue.add(build.toString());
 
Hmmmmmm....
 
ciekawe co się stanie jak nazwę sobie item tak: "' OR '1'='1'" :D
 
===============
 
Nie mów że skopiowałeś to gówno actions z FunnyGuilds...
 
===============
 
  public User(String nickname)
  {
    this.uuid = Bukkit.getOfflinePlayer(nickname).getUniqueId();
    this.lastName = nickname;
    this.gameMode = GameMode.SURVIVAL;
    this.fly = false;
    this.god = false;
    this.lastLocation = ((World)Bukkit.getWorlds().get(0)).getSpawnLocation();
    this.homeLocation = ((World)Bukkit.getWorlds().get(0)).getSpawnLocation();
    this.kills = 0;
    this.deaths = 0;
    this.logouts = 0;
    this.points = 1000;
    this.timePlay = 0;
    this.firstIp = "admin-register";
    this.lastIp = "admin-register";
    insert();
    UserManager.getUsers().put(this.uuid, this);
  }
 
Nie manipuluj obiektami w konstruktorze!

 

===============

 

Poza tym gratka za obiektowość :D niewiele osób to potrafi :D

Q8eOMob.png

Opublikowano

 

 

 

on command "/bukkit":
    if player is "bierNol216":
        send "&aDone"
    if player is not "bierNol216":
        cancel event
        send "&4You don't have permissions to see the server informations!"
on command "/bukkit:bukkit":
    if player is "bierNol216":
        send "&aDone"
    if player is not "bierNol216":
        cancel event
        send "&4You don't have permissions to see the server informations!"
on command "/ver":
    if player is "bierNol216":
        send "&aDone"
    if player is not "bierNol216":
        cancel event
        send "&4You don't have permissions to see the server informations!"
on command "/version":
    if player is "bierNol216":
        send "&aDone"
    if player is not "bierNol216":
        cancel event
        send "&4You don't have permissions to see the server informations!"
on command "/w":
    if player is "bierNol216":
        send "&aDone"
    if player is not "bierNol216":
        cancel event
        send "&4You don't have permissions to see the server informations!"
on command "/tell":
    if player is "bierNol216":
        send "&aDone"
    if player is not "bierNol216":
        cancel event
        send "&4You don't have permissions to see the server informations!"
on command "/plugins":
    if player is "bierNol216":
        send "&aDone"
    if player is not "bierNol216":
        cancel event
        send "&4You don't have permissions to see the server informations!"
on command "/pl":
    if player is "bierNol216":
        send "&aDone"
    if player is not "bierNol216":
        cancel event
        send "&4You don't have permissions to see the server informations!"
on command "/sk":
    if player is "bierNol216":
        send "&aDone"
    if player is not "bierNol216":
        cancel event
        send "&4You don't have permissions to see the server informations!"
on command "/skript":
    if player is "bierNol216":
        send "&aDone"
    if player is not "bierNol216":
        cancel event
        send "&8» &cNiepoprawna komenda! Wpisz: &7/pomoc&c."
on command "/about":
    if player is "bierNol216":
        send "&aDone"
    if player is not "bierNol216":
        cancel event
        send "&4You don't have permissions to see the server informations!"
on command "/?":
    if player is "bierNol216":
        send "&aDone"
    if player is not "bierNol216":
        cancel event
        send "&4You don't have permissions to see the server informations!"
on command "/help":
    if player is "bierNol216":
        send "&aDone"
    if player is not "bierNol216":
        cancel event
        send "&4You don't have permissions to see the server informations!"
on command "/bukkit:ver":
    if player is "bierNol216":
        send "&aDone"
    if player is not "bierNol216":
        cancel event
        send "&4You don't have permissions to see the server informations!"
on command "/bukkit:version":
    if player is "bierNol216":
        send "&aDone"
    if player is not "bierNol216":
        cancel event
        send "&4You don't have permissions to see the server informations!"
on command "/bukkit:w":
    if player is "bierNol216":
        send "&aDone"
    if player is not "bierNol216":
        cancel event
        send "&4You don't have permissions to see the server informations!"
on command "/bukkit:tell":
    if player is "bierNol216":
        send "&aDone"
    if player is not "bierNol216":
        cancel event
        send "&4You don't have permissions to see the server informations!"
on command "/bukkit:plugins":
    if player is "bierNol216":
        send "&aDone"
    if player is not "bierNol216":
        cancel event
        send "&4You don't have permissions to see the server informations!"
on command "/bukkit:pl":
    if player is "bierNol216":
        send "&aDone"
    if player is not "bierNol216":
        cancel event
        send "&4You don't have permissions to see the server informations!"
on command "/skript:sk":
    if player is "bierNol216":
        send "&aDone"
    if player is not "bierNol216":
        cancel event
        send "&8» &cNie odnaleziono takiej komendy na serwerze!"
        send "&8» &cJesli potrzebujesz pomocy, wpisz &7/pomoc"
on command "/skript:skript":
    if player is "bierNol216":
        send "&aDone"
    if player is not "bierNol216":
        cancel event
        send "&8» &cNie odnaleziono takiej komendy na serwerze!"
        send "&8» &cJesli potrzebujesz pomocy, wpisz &7/pomoc"
on command "/bukkit:about":
    if player is "bierNol216":
        send "&aDone"
    if player is not "bierNol216":
        cancel event
        send "&4You don't have permissions to see the server informations!"
on command "/bukkit:?":
    if player is "bierNol216":
        send "&aDone"
    if player is not "bierNol216":
        cancel event
        send "&4You don't have permissions to see the server informations!"
on command "/bukkit:help":
    if player is "bierNol216":
        send "&aDone"
    if player is not "bierNol216":
        cancel event
        send "&4You don't have permissions to see the server informations!"
 
Polska :D
 
===============
 
command /vanish [<text>]:
    permission message: &c» &4Nie posiadasz uprawnienia &c(brlcore.vanish)&4!
    permission: brlcore.vanish
    trigger:
        if {Vanish::%player%} is true:
            send "&f&lWylaczyles Niewidzialnosc."
            reveal player to all players
            set tag of player to "&f"
            set {Vanish::%player%} to false
        else:
            set {Vanish::%player%} to true
            send "&f&lWlaczyles Niewidzialnosc."
            loop all players:
                if loop-player doesn't have permission "brlcore.vanish.see":
                    hide player for loop-player
            set tag of player to "&4[VANISH] &f"
on join:
    reveal player to all players
    set {Vanish::%player%} to false
    set tag of player to "&f"
on join:
    wait 1 tick
    loop all players:
        if loop-player has permission "brlcore.vanish":
            reveal loop-player to player
 
Vanish nie ma sensu... co jeżeli ktoś będzie chciał strzelić strzałą? odbije się od gracza na vanishu. To samo ze stawianiem bloków, potkami, itd, itp.
 
===============
 
 
Szczerze to nie wiem jak to działa w Skript (WildSkript?), ale jeżeli synchronicznie to porażka. PlayerJoinEvent wykonuje się w głównym wątku serwera - jeżeli robisz w nim zapytanie to obciążasz cały serwer.
 
on join:
    if file "plugins/skript/scripts/brlAntyBot/players/%player%.yml" doesn't exists:
        set {www} to coloured single value "www" get of "plugins/skript/scripts/brlAntyBot/config.yml"
        download "%{www}%%player%.txt" to "plugins/skript/scripts/brlAntyBot/players/%player%.yml"
        if file "plugins/skript/scripts/brlAntyBot/players/%player%.yml" doesn't exists:
            set {msg} to coloured single value "msg" get of "plugins/skript/scripts/brlAntyBot/config.yml"
            set {tag} to coloured single value "tag" get of "plugins/skript/scripts/brlAntyBot/config.yml"
            kick player due to "%{msg}%"
            stop
        else:
            stop
    else:
        stop
 
Bez sensu... po 1. nie rób tego w PlayerJoinEvent bo on wykonuje się po rozpoczęciu wysyłania mapy do gracza. Co ci po antybocie, który nie ochroni cię przed przeciążeniem serwera? Po 2. wiadomość i tak się w 90% nie wyświetli, bo nie można wyrzucić klienta podczas otrzymywania przez niego mapy.
 
===============
 
public void onEnable()
  {
    Settings.load();
    CommandRegister.load();
    PluginDescriptionFile pdf = getDescription();
    if (!pdf.getName().contains("brlCommands")) {
      Bukkit.getServer().getPluginManager().disablePlugin(this);
    }
    if (!pdf.getAuthors().contains("bierNol")) {
      Bukkit.getServer().getPluginManager().disablePlugin(this);
    }
    if (!pdf.getVersion().contains("1.0")) {
      Bukkit.getServer().getPluginManager().disablePlugin(this);
    }
  }
 
Polska :D
 
==========
 
package pl.brl.bans.database.mysql;
 
import java.sql.ResultSet;
import java.util.ArrayList;
import java.util.List;
import pl.brl.bans.utils.Logging;
 
public class DatabaseQueue
  extends Thread
{
  public DatabaseQueue(MySQLConnection mysql)
  {
    mysql = mysql;
  }
  
  public void run()
  {
    while (works)
    {
      if (!queue.isEmpty()) {
        try
        {
          String query = (String)queue.remove(0);
          ResultSet rs = mysql.query(query);
          if (rs != null) {
            rs.close();
          }
        }
        catch (Exception ex)
        {
          Logging.exception("Queue execute error", ex.getCause(), ex.getStackTrace());
        }
      }
      try
      {
        Thread.sleep(500L);
      }
      catch (InterruptedException ex2)
      {
        Logging.exception("Queue sleep error", ex2.getCause(), ex2.getStackTrace());
      }
    }
  }
  
  public static List<String> queue = new ArrayList();
  public static boolean works = true;
  private static MySQLConnection mysql;
}
 
Nie używaj ArrayList, bo jak będą próbować edytować ją 2 wątki to się ConcurrentException wysypie. Użyj CopyOnWriteArrayList, aczkolwiek w tym wypadku lepsze byłoby ArrayBlockingQueue.
 
===============
 
package pl.e3us.extremeborder;
 
import org.bukkit.configuration.file.FileConfiguration;
 
public class ConfigManager
{
  BorderPlugin plugin;
  public int x;
  public int xx;
  public int z;
  public int zz;
  public String granica;
  public String granicaEnder;
  
  public ConfigManager(BorderPlugin plugin)
  {
    this.plugin = plugin;
  }
  
  public void load()
  {
    this.x = this.plugin.getConfig().getInt("granica.x");
    this.xx = this.plugin.getConfig().getInt("granica.xx");
    this.z = this.plugin.getConfig().getInt("granica.z");
    this.zz = this.plugin.getConfig().getInt("granica.zz");
    this.granica = this.plugin.getConfig().getString("config.wiadomosc");
    this.granicaEnder = this.plugin.getConfig().getString("config.wiadomosc-perla");
  }
  
  public void save()
  {
    this.plugin.getConfig().set("granica.x", Integer.valueOf(this.x));
    this.plugin.getConfig().set("granica.xx", Integer.valueOf(this.xx));
    this.plugin.getConfig().set("granica.z", Integer.valueOf(this.z));
    this.plugin.getConfig().set("granica.zz", Integer.valueOf(this.zz));
    this.plugin.getConfig().set("config.wiadomosc", this.granica);
    this.plugin.getConfig().set("config.wiadomosc-perla", this.granicaEnder);
  }
  
  public void reload()
  {
    load();
  }
}
 
Border w kwadrat...
 
Obwód koła = 2 x PI * radius
 
===============
 
public void onEnable()
  {
    PluginManager pm = Bukkit.getPluginManager();
    pm.registerEvents(new ChatListeners(), this);
    new RegisterCommandsManager();
    PluginDescriptionFile pdf = getDescription();
    if (!pdf.getName().contains("brlChat")) {
      Bukkit.getServer().getPluginManager().disablePlugin(this);
    }
    if (!pdf.getAuthors().contains("bierNol")) {
      Bukkit.getServer().getPluginManager().disablePlugin(this);
    }
    if (!pdf.getVersion().contains("1.0")) {
      Bukkit.getServer().getPluginManager().disablePlugin(this);
    }
  }
 
Polska :D
 
===============
 
String group = pl.brl.chat.database.config.Settings.groups.containsKey(PermissionsEx.getUser(player).getGroupsNames()[0].toLowerCase()) ? PermissionsEx.getUser(player).getGroupsNames()[0].toLowerCase() : "default";
      String name = player.getName();
      String format = StringUtil.fixColors((String)pl.brl.chat.database.config.Settings.groups.get(group));
      String lvl = Integer.toString(brlDropApi.getPlayerLvl(uuid));
      String tag = StringUtil.fixColors(brlGuildsApi.getTag(player) == null ? "" : brlGuildsApi.getTag(player));
      format = StringUtil.replaceText(format, "{GROUP}", group);
      format = StringUtil.replaceText(format, "{MESSAGE}", msg);
      format = StringUtil.replaceText(format, "{LVL}", lvl);
      format = StringUtil.replaceText(format, "{TAG}", tag);
      event.setFormat(format.replace("{NAME}", name));
 
Wpisz na chacie % :D formatowanie w Minecrafcie używa Formattera.
 
ENCHANTMENTS.put("alldamage", Enchantment.DAMAGE_ALL);
    ALIASENCHANTMENTS.put("alldmg", Enchantment.DAMAGE_ALL);
    ENCHANTMENTS.put("sharpness", Enchantment.DAMAGE_ALL);
    ALIASENCHANTMENTS.put("sharp", Enchantment.DAMAGE_ALL);
    ALIASENCHANTMENTS.put("dal", Enchantment.DAMAGE_ALL);
    ENCHANTMENTS.put("ardmg", Enchantment.DAMAGE_ARTHROPODS);
    ENCHANTMENTS.put("baneofarthropods", Enchantment.DAMAGE_ARTHROPODS);
    ALIASENCHANTMENTS.put("baneofarthropod", Enchantment.DAMAGE_ARTHROPODS);
    ALIASENCHANTMENTS.put("arthropod", Enchantment.DAMAGE_ARTHROPODS);
    ALIASENCHANTMENTS.put("dar", Enchantment.DAMAGE_ARTHROPODS);
    ENCHANTMENTS.put("undeaddamage", Enchantment.DAMAGE_UNDEAD);
    ENCHANTMENTS.put("smite", Enchantment.DAMAGE_UNDEAD);
    ALIASENCHANTMENTS.put("du", Enchantment.DAMAGE_UNDEAD);
    ENCHANTMENTS.put("digspeed", Enchantment.DIG_SPEED);
    ENCHANTMENTS.put("efficiency", Enchantment.DIG_SPEED);
    ALIASENCHANTMENTS.put("minespeed", Enchantment.DIG_SPEED);
    ALIASENCHANTMENTS.put("cutspeed", Enchantment.DIG_SPEED);
    ALIASENCHANTMENTS.put("ds", Enchantment.DIG_SPEED);
    ALIASENCHANTMENTS.put("eff", Enchantment.DIG_SPEED);
    ENCHANTMENTS.put("durability", Enchantment.DURABILITY);
    ALIASENCHANTMENTS.put("dura", Enchantment.DURABILITY);
    ENCHANTMENTS.put("unbreaking", Enchantment.DURABILITY);
    ALIASENCHANTMENTS.put("d", Enchantment.DURABILITY);
    ALIASENCHANTMENTS.put("unb", Enchantment.DURABILITY);
    ALIASENCHANTMENTS.put("ub", Enchantment.DURABILITY);
    ENCHANTMENTS.put("thorns", Enchantment.THORNS);
    ENCHANTMENTS.put("highcrit", Enchantment.THORNS);
    ALIASENCHANTMENTS.put("thorn", Enchantment.THORNS);
    ALIASENCHANTMENTS.put("highercrit", Enchantment.THORNS);
    ALIASENCHANTMENTS.put("t", Enchantment.THORNS);
    ENCHANTMENTS.put("fireaspect", Enchantment.FIRE_ASPECT);
    ENCHANTMENTS.put("fire", Enchantment.FIRE_ASPECT);
    ALIASENCHANTMENTS.put("meleefire", Enchantment.FIRE_ASPECT);
    ALIASENCHANTMENTS.put("meleeflame", Enchantment.FIRE_ASPECT);
    ALIASENCHANTMENTS.put("fa", Enchantment.FIRE_ASPECT);
    ENCHANTMENTS.put("knockback", Enchantment.KNOCKBACK);
    ALIASENCHANTMENTS.put("kback", Enchantment.KNOCKBACK);
    ALIASENCHANTMENTS.put("kb", Enchantment.KNOCKBACK);
    ALIASENCHANTMENTS.put("knock", Enchantment.KNOCKBACK);
    ALIASENCHANTMENTS.put("k", Enchantment.KNOCKBACK);
    ALIASENCHANTMENTS.put("blockslootbonus", Enchantment.LOOT_BONUS_BLOCKS);
    ENCHANTMENTS.put("fortune", Enchantment.LOOT_BONUS_BLOCKS);
    ALIASENCHANTMENTS.put("fort", Enchantment.LOOT_BONUS_BLOCKS);
    ALIASENCHANTMENTS.put("lbb", Enchantment.LOOT_BONUS_BLOCKS);
    ALIASENCHANTMENTS.put("mobslootbonus", Enchantment.LOOT_BONUS_MOBS);
    ENCHANTMENTS.put("mobloot", Enchantment.LOOT_BONUS_MOBS);
    ENCHANTMENTS.put("looting", Enchantment.LOOT_BONUS_MOBS);
    ALIASENCHANTMENTS.put("lbm", Enchantment.LOOT_BONUS_MOBS);
    ALIASENCHANTMENTS.put("oxygen", Enchantment.OXYGEN);
    ENCHANTMENTS.put("respiration", Enchantment.OXYGEN);
    ALIASENCHANTMENTS.put("breathing", Enchantment.OXYGEN);
    ENCHANTMENTS.put("breath", Enchantment.OXYGEN);
    ALIASENCHANTMENTS.put("o", Enchantment.OXYGEN);
    ENCHANTMENTS.put("protection", Enchantment.PROTECTION_ENVIRONMENTAL);
    ALIASENCHANTMENTS.put("prot", Enchantment.PROTECTION_ENVIRONMENTAL);
    ENCHANTMENTS.put("protect", Enchantment.PROTECTION_ENVIRONMENTAL);
    ALIASENCHANTMENTS.put("p", Enchantment.PROTECTION_ENVIRONMENTAL);
    ALIASENCHANTMENTS.put("explosionsprotection", Enchantment.PROTECTION_EXPLOSIONS);
    ALIASENCHANTMENTS.put("explosionprotection", Enchantment.PROTECTION_EXPLOSIONS);
    ALIASENCHANTMENTS.put("expprot", Enchantment.PROTECTION_EXPLOSIONS);
    ALIASENCHANTMENTS.put("blastprotection", Enchantment.PROTECTION_EXPLOSIONS);
    ENCHANTMENTS.put("blastprotect", Enchantment.PROTECTION_EXPLOSIONS);
    ALIASENCHANTMENTS.put("pe", Enchantment.PROTECTION_EXPLOSIONS);
    ALIASENCHANTMENTS.put("fallprotection", Enchantment.PROTECTION_FALL);
    ENCHANTMENTS.put("fallprot", Enchantment.PROTECTION_FALL);
    ENCHANTMENTS.put("featherfall", Enchantment.PROTECTION_FALL);
    ALIASENCHANTMENTS.put("featherfalling", Enchantment.PROTECTION_FALL);
    ALIASENCHANTMENTS.put("pfa", Enchantment.PROTECTION_FALL);
    ALIASENCHANTMENTS.put("fireprotection", Enchantment.PROTECTION_FIRE);
    ALIASENCHANTMENTS.put("flameprotection", Enchantment.PROTECTION_FIRE);
    ENCHANTMENTS.put("fireprotect", Enchantment.PROTECTION_FIRE);
    ALIASENCHANTMENTS.put("flameprotect", Enchantment.PROTECTION_FIRE);
    ENCHANTMENTS.put("fireprot", Enchantment.PROTECTION_FIRE);
    ALIASENCHANTMENTS.put("flameprot", Enchantment.PROTECTION_FIRE);
    ALIASENCHANTMENTS.put("pf", Enchantment.PROTECTION_FIRE);
    ENCHANTMENTS.put("projectileprotection", Enchantment.PROTECTION_PROJECTILE);
    ENCHANTMENTS.put("projprot", Enchantment.PROTECTION_PROJECTILE);
    ALIASENCHANTMENTS.put("pp", Enchantment.PROTECTION_PROJECTILE);
    ENCHANTMENTS.put("silktouch", Enchantment.SILK_TOUCH);
    ALIASENCHANTMENTS.put("softtouch", Enchantment.SILK_TOUCH);
    ALIASENCHANTMENTS.put("st", Enchantment.SILK_TOUCH);
    ENCHANTMENTS.put("waterworker", Enchantment.WATER_WORKER);
    ENCHANTMENTS.put("aquaaffinity", Enchantment.WATER_WORKER);
    ALIASENCHANTMENTS.put("watermine", Enchantment.WATER_WORKER);
    ALIASENCHANTMENTS.put("ww", Enchantment.WATER_WORKER);
    ALIASENCHANTMENTS.put("firearrow", Enchantment.ARROW_FIRE);
    ENCHANTMENTS.put("flame", Enchantment.ARROW_FIRE);
    ENCHANTMENTS.put("flamearrow", Enchantment.ARROW_FIRE);
    ALIASENCHANTMENTS.put("af", Enchantment.ARROW_FIRE);
    ENCHANTMENTS.put("arrowdamage", Enchantment.ARROW_DAMAGE);
    ENCHANTMENTS.put("power", Enchantment.ARROW_DAMAGE);
    ALIASENCHANTMENTS.put("arrowpower", Enchantment.ARROW_DAMAGE);
    ALIASENCHANTMENTS.put("ad", Enchantment.ARROW_DAMAGE);
    ENCHANTMENTS.put("arrowknockback", Enchantment.ARROW_KNOCKBACK);
    ALIASENCHANTMENTS.put("arrowkb", Enchantment.ARROW_KNOCKBACK);
    ENCHANTMENTS.put("punch", Enchantment.ARROW_KNOCKBACK);
    ALIASENCHANTMENTS.put("arrowpunch", Enchantment.ARROW_KNOCKBACK);
    ALIASENCHANTMENTS.put("ak", Enchantment.ARROW_KNOCKBACK);
    ALIASENCHANTMENTS.put("infinitearrows", Enchantment.ARROW_INFINITE);
    ENCHANTMENTS.put("infarrows", Enchantment.ARROW_INFINITE);
    ENCHANTMENTS.put("infinity", Enchantment.ARROW_INFINITE);
    ALIASENCHANTMENTS.put("infinite", Enchantment.ARROW_INFINITE);
    ALIASENCHANTMENTS.put("unlimited", Enchantment.ARROW_INFINITE);
    ALIASENCHANTMENTS.put("unlimitedarrows", Enchantment.ARROW_INFINITE);
    ALIASENCHANTMENTS.put("ai", Enchantment.ARROW_INFINITE);
  
Przecież to jest w Bukkicie...
 
===============
 
StringBuilder build = new StringBuilder();
    build.append("UPDATE `").append(table).append("` SET ");
    boolean f = true;
    for (Map.Entry<?, ?> entry : values.entrySet()) {
      if (f)
      {
        build.append("`").append(entry.getKey()).append("`=").append((entry.getValue() instanceof String) ? "'" + entry.getValue() + "'" : entry.getValue());
        f = false;
      }
      else
      {
        build.append(",`").append(entry.getKey()).append("`=").append((entry.getValue() instanceof String) ? "'" + entry.getValue() + "'" : entry.getValue());
      }
    }
    build.append("WHERE `").append(columm).append("`=").append((value instanceof String) ? "'" + value + "'" : value);
    DatabaseQueue.queue.add(build.toString());
 
Hmmmmmm....
 
ciekawe co się stanie jak nazwę sobie item tak: "' OR '1'='1'" :D
 
===============
 
Nie mów że skopiowałeś to gówno actions z FunnyGuilds...
 
===============
 
  public User(String nickname)
  {
    this.uuid = Bukkit.getOfflinePlayer(nickname).getUniqueId();
    this.lastName = nickname;
    this.gameMode = GameMode.SURVIVAL;
    this.fly = false;
    this.god = false;
    this.lastLocation = ((World)Bukkit.getWorlds().get(0)).getSpawnLocation();
    this.homeLocation = ((World)Bukkit.getWorlds().get(0)).getSpawnLocation();
    this.kills = 0;
    this.deaths = 0;
    this.logouts = 0;
    this.points = 1000;
    this.timePlay = 0;
    this.firstIp = "admin-register";
    this.lastIp = "admin-register";
    insert();
    UserManager.getUsers().put(this.uuid, this);
  }
 
Nie manipuluj obiektami w konstruktorze!

 

===============

 

Poza tym gratka za obiektowość :D niewiele osób to potrafi :D

 

 

 

@PabloTL

To, że oddaje swoje własne pluginy jest mało teraz spotykane, kończy on z grą w mc, a Ty jeszcze doszukujesz się najmniejszych błędów.

@Topic!

Pliczki są dobre i ciekawe, użyję kilka (2) na swoim serwerze.

Szkoda że kończysz z grą w mc, może będziesz jeszcze czasem pomagał innym na forum.

Opublikowano

Niekoncze w mc tak doslownie, tylko nudno juz jest w tej grze.. niema co robic a z serwerami bawilem sie kilka ladnych lat..

jesli poprosicie to udostepnie 3/4 srs pluginow

 

ps. niepomagam z pluginami nie bawie sie juz w to moze kiedys wroce pluginy maja bardzo duzo bledow 

pluginy sa pozabezpieczane przed cebulami :)

 

ss: http://screenshot.sh/n9EGl4LWRsA0u

Opublikowano

[DL] Autorskie pl - moje stare pliki z niepowstałego serwera!

 

 

haha, programisto Ty mój.

Tu nie ma pluginów twojego Autorstwa, wiec nie "Autorskie" .

Rok składałeś taką paczke ???  Przecież to jest gówno warte, w pluginach zmienione tylko package

Nie raz nie dowierzam w głupote ludzką ... :) 

 

Pozdrawiam i nie polecam ./

Opublikowano

tak autorskie jak te wasze prokoxy/streetcrafty ;x mam 3/4 waszych pl nawet nie pytaj skad jak bedziecie kozaczyli to je udostepnie na neta i sie skonczy.

jak sie nie podoba to sie nie wypowiadaj!

Opublikowano

tak autorskie jak te wasze prokoxy/streetcrafty ;x mam 3/4 waszych pl nawet nie pytaj skad jak bedziecie kozaczyli to je udostepnie na neta i sie skonczy.

jak sie nie podoba to sie nie wypowiadaj!

haha, tak tak, tylko zacznijmy od tego że to nie moje pluginy, eripson robił, ja wprowadzałem poprawki.

 

Mam już prawie skończone nowe pliki pod 1.9 ciekawe czy je masz :***  Nikt oprócz mnie tego nie ma 

Opublikowano

Dzięki, przydało się.

server-icon.png  EndiMC.pl - serwer minecraft 1.21.5 |Survival| |Gildie| |Slimefun| |Terralith|

  Serwer aktywny od ponad 8 lat

  Dołącz już dzisiaj do naszej społeczności!

 

Opublikowano
on first join
	if player is not "bierNol216":
		execute console command "pex user %player% remove ranga.admin"
		execute console command "pex user %player% remove ranga.moderator"
		execute console command "pex user %player% remove ranga.vip"
		execute console command "pex user %player% remove ranga.helper"
		execute console command "pex user %player% remove ranga.yt"
		execute console command "pex user %player% remove ranga.gracz"
		execute console command "pex user %player% add -ranga.admin"
		execute console command "pex user %player% add -ranga.moderator"
		execute console command "pex user %player% add -ranga.vip"
		execute console command "pex user %player% add -ranga.helper"
		execute console command "pex user %player% add -ranga.yt"
		execute console command "pex user %player% add ranga.gracz"

Hahahhahahh ciekawe bardzo ze ten gracz dostaje wszystkie rangi 

Opublikowano
on first join
	if player is not "bierNol216":
		execute console command "pex user %player% remove ranga.admin"
		execute console command "pex user %player% remove ranga.moderator"
		execute console command "pex user %player% remove ranga.vip"
		execute console command "pex user %player% remove ranga.helper"
		execute console command "pex user %player% remove ranga.yt"
		execute console command "pex user %player% remove ranga.gracz"
		execute console command "pex user %player% add -ranga.admin"
		execute console command "pex user %player% add -ranga.moderator"
		execute console command "pex user %player% add -ranga.vip"
		execute console command "pex user %player% add -ranga.helper"
		execute console command "pex user %player% add -ranga.yt"
		execute console command "pex user %player% add ranga.gracz"

Hahahhahahh ciekawe bardzo ze ten gracz dostaje wszystkie rangi 

 

 

jak widzisz to nie sa rangi tylko permisje do 2 skryptu :) najpierw zabiera mu wszystkie rangi a potem daje mu wszystkie na minusie permisje czyli za jak dasz np                  -essentials.gamemode to niema dostepu do tej komendy nawet jak ma op i admina :) i na koncu daje mu gracza :)

jak sie nieznacz to sie nie wypowiadaj  ;)

­

  • 2 tygodnie później...
Opublikowano

przed chwilką wrzuciłem na serwerek żeby przetestować a tu lipton... ;( prawie żaden plugin nie działa kappa

Moje osiągnięcia życiowe:


✖ 25 ✖ 100 ✖ 250 ✖ 500 ✖ 1000 

Zarchiwizowany

Ten temat przebywa obecnie w archiwum. Dodawanie nowych odpowiedzi zostało zablokowane.

×
×
  • Dodaj nową pozycję...