-
Ilość zawartości
1852 -
Rejestracja
-
Ostatnia wizyta
-
Wygrane w rankingu
44
Treść opublikowana przez kerpson
-
Ok sory, mam downa rakotworczego. Zaraz zmienie Gitara Siema, Dziala. Ja spadam na silke. Pa i dziekuje
-
jeszcze dam lates.log. https://code.skript.pl/nAC3JeM0/
-
Ok, sory mam raka https://code.skript.pl/8Oqdy3Aj/
-
[09:54:37 INFO]: [Essentials] Enabling Essentials v2.0.1-b488 [09:54:37 WARN]: [Essentials] ?4Version mismatch! Please update EssentialsProtect to the same version. [09:54:37 WARN]: [Essentials] ?4Version mismatch! Please update EssentialsChat to the same version. [09:54:37 WARN]: [Essentials] ?4Version mismatch! Please update EssentialsSpawn to the same version. [09:54:37 INFO]: [Essentials] Using 1.8.3+ BlockStateMeta provider as mob spawner provider. [09:54:37 INFO]: [Essentials] Using legacy item data provider as spawn egg provider. [09:54:37 INFO]: [Essentials] Using legacy potion meta provider as potion meta provider. [09:54:37 INFO]: Using locale pl [09:54:37 INFO]: [Essentials] Starting Metrics. Opt-out using the global bStats config. [09:54:37 INFO]: [Vault][Economy] Essentials Economy hooked. [09:54:37 INFO]: [Essentials] Using Vault based permissions (PermissionsEx) [09:54:37 INFO]: [EssentialsProtect] Enabling EssentialsProtect vTeamCity [09:54:37 WARN]: [09:54:37 INFO]: [EssentialsChat] Enabling EssentialsChat vTeamCity [09:54:37 WARN]: [09:54:37 INFO]: [EssentialsSpawn] Enabling EssentialsSpawn vTeamCity [09:54:37 WARN]: [09:54:37 INFO]: [WorldGuard] Enabling WorldGuard v6.1.3-SNAPSHOT;c904242 [09:54:37 INFO]: [WorldGuard] (world) TNT ignition is PERMITTED. [09:54:37 INFO]: [WorldGuard] (world) Lighters are PERMITTED. [09:54:37 INFO]: [WorldGuard] (world) Lava fire is blocked. [09:54:37 INFO]: [WorldGuard] (world) Fire spread is UNRESTRICTED. [09:54:37 INFO]: [WorldGuard] Loaded configuration for world 'world' [09:54:37 INFO]: [WorldGuard] (world_the_end) TNT ignition is PERMITTED. [09:54:37 INFO]: [WorldGuard] (world_the_end) Lighters are PERMITTED. [09:54:37 INFO]: [WorldGuard] (world_the_end) Lava fire is blocked. [09:54:37 INFO]: [WorldGuard] (world_the_end) Fire spread is UNRESTRICTED. [09:54:37 INFO]: [WorldGuard] Loaded configuration for world 'world_the_end' [09:54:37 INFO]: [WorldGuard] Loading region data... [09:54:37 INFO]: Server permissions file permissions.yml is empty, ignoring it [09:54:38 INFO]: siema123: Reload complete. [09:54:38 INFO]: [Skript] Checking for the latest version of Skript... [09:54:38 INFO]: [FunnyGuilds][Updater] > [09:54:38 INFO]: [FunnyGuilds][Updater] > A new version of FunnyGuilds is available! [09:54:38 INFO]: [FunnyGuilds][Updater] > Current: 4.0.1.1 Tribute [09:54:38 INFO]: [FunnyGuilds][Updater] > Latest: 4.1.1 Tribute [09:54:38 INFO]: [FunnyGuilds][Updater] > [09:54:38 INFO]: [Skript] You're currently running the latest stable version of Skript. [09:54:42 INFO]: [Skript] All scripts loaded without errors. [09:54:42 INFO]: [Skript] Loaded 1 script with a total of 4 triggers and 1 command in 4.21 seconds [09:54:42 INFO]: [Skript] Finished loading. [09:54:42 INFO]: [Vault] Checking for Updates ... [09:54:42 INFO]: [Vault] No new version available Podam informacje o serwerze: Wersja: Spigot 1.8.8 (Java 8). Plugin: Java 8, Bukkit, CraftBukkit 1.8.8
-
@up Jak zawsze jestem ci wdzieczny. Dziekuje ci bardzo, zaraz sprawdze czy dziala xd Dalej nie dziala :D! Przy komendzie /plugins on sie wgl nie pokazuje...
-
Witam, mam problem. Gdy zrobilem plugin, jest on pod Java8 (mój serwer też java 8). Ale komenda jakby nie jest zarejestrowana.. Probowalem na javie 7ale dalej to samo. package pl.hotangel2k17; import java.util.ArrayList; import org.bukkit.Bukkit; import org.bukkit.Material; import org.bukkit.command.Command; import org.bukkit.command.CommandSender; import org.bukkit.entity.Player; import org.bukkit.event.Listener; import org.bukkit.inventory.Inventory; import org.bukkit.inventory.ItemStack; import org.bukkit.inventory.meta.ItemMeta; import org.bukkit.plugin.java.JavaPlugin; public class Main extends JavaPlugin{ Inventory inv; @Override public void onEnable(){ System.out.println("Wlaczanie..."); } @Override public void onDisable(){ System.out.println("Wylaczanie..."); } @Override public boolean onCommand(CommandSender sender, Command command, String label, String[] args) { Player p = (Player) sender; if(command.getName().equalsIgnoreCase("zestawy")){ createMenu(p); } return false; } public void createMenu(Player p){ Inventory inv = Bukkit.getServer().createInventory(null,9,"§6§lKity"); ItemStack gracz = new ItemStack(Material.STONE_SWORD, 1); ItemMeta graczim = gracz.getItemMeta(); ArrayList<String> graczlore = new ArrayList<String>(); graczlore.add("§8» §7Kliknij aby otrzymac zestaw gracz"); graczlore.add(" §a§lKAZDY MOZE OTRZYMAC ZESTAW GRACZ"); graczim.setDisplayName("§7Zestaw §8Gracz"); graczim.setLore(graczlore); gracz.setItemMeta(graczim); inv.setItem(0, gracz); p.openInventory(inv); } } plugin.yml: name: VHCKity version: 1.0 main: pl.hotangel2k17.Main author: HotAngel2K17 commands: zestawy:
-
Zalezy od twojej maszyny. Ten skrypt jedt calkiem maly i nie powinno byc lagow
-
A ty czytales o co graczowi chodzi? On mowi o czasowym bugu... A ty nic do tego nie wnosisz
-
To nic nie zmienia do dzialania kodu...
-
To jest to samo co on napisal...
-
Pisalem od kamilkime kod na motd. No i nie dziala Jak bedzie widac na screenshocie mam zaimportowany protocol lib. pomoze ktos? https://scr.hu/q6Law2
-
Nie dziala
-
set {_x} to random integer between {@diament-min} and {@diament-max} give player {_x} diamonds Blad przy give player x diamonds....
-
Serwer nawet spoko
-
Generalnie serwer: - Administracja poniżej norm. Chwalicie sie na chacie ze "macie 32pluginy." - Piszecie sobie na chacie glownym jak gracze. - Kolejny easyhc - Wszystko z neta, serwer wystartowal na szybko. - Administracja nie odróżnia skryptow od pluginow - Fajne bany - https://scr.hu/JmWodq Serwer oceniam na: 0.5/10. Administracja poniżej 12roku życia. Serwer wystartowal na szybko. Spawn z neta. Pluginy z neta. Nie polecam tam grac.
-
Dziekuje @yooniks
-
Czyli?
-
Mam pytanie. Pokaze wam 2zapisy (nie sa moje). 1. Zapis on break of stone: if player's tool is any pickaxe: if {qd::%player%::cobble} is "NIE": cancel event set event-block to air set {_1::*} to configuration section "drops" get of "plugins/QDrop/drops.yml" loop {_1::*}: set {_d::item::%loop-value%} to single value "drops.%loop-value%.item" get of "plugins/QDrop/drops.yml" parsed as item set {_d::sz::%loop-value%} to single value "drops.%loop-value%.szanse" get of "plugins/QDrop/drops.yml" parsed as number set {_d::xp::%loop-value%} to single value "drops.%loop-value%.xp" get of "plugins/QDrop/drops.yml" parsed as number set {_d::n::%loop-value%} to single value "drops.%loop-value%.nazwa" get of "plugins/QDrop/drops.yml" set {_d::for::%loop-value%} to single value "drops.%loop-value%.fortuna" get of "plugins/QDrop/drops.yml" set {_d::en::%loop-value%} to single value "drops.%loop-value%.enderchest" get of "plugins/QDrop/drops.yml" set {_d::wiad::%loop-value%} to colored single value "drops.%loop-value%.wiadomosc" get of "plugins/QDrop/drops.yml" parsed as text set {_d::imin::%loop-value%} to single value "drops.%loop-value%.ilosc.min" get of "plugins/QDrop/drops.yml" parsed as number set {_d::imax::%loop-value%} to single value "drops.%loop-value%.ilosc.max" get of "plugins/QDrop/drops.yml" parsed as number set {_d::pmin::%loop-value%} to single value "drops.%loop-value%.poziom.min" get of "plugins/QDrop/drops.yml" parsed as number set {_d::pmax::%loop-value%} to single value "drops.%loop-value%.poziom.max" get of "plugins/QDrop/drops.yml" parsed as number set {_xp} to single value "xp" get of "plugins/QDrop/drops.yml" parsed as number loop {_xp} times: give 1 xp to player if {_d::for::%loop-value%} is "tak": set {_f} to level of fortune of the player's tool/50 else: set {_f} to 0 if {qd::%player%::%loop-value%} is not "NIE": if y-coordinate of player is bigger or equal to {_d::pmin::%loop-value%}: if y-coordinate of player is less or equal to {_d::pmax::%loop-value%}: chance of {_d::sz::%loop-value%} +{_f}: set {_i} to random integer between {_d::imin::%loop-value%} and {_d::imax::%loop-value%} if player can hold {_i} of {_d::item::%loop-value%}: give player {_i} of {_d::item::%loop-value%} else: if {_d::en::%loop-value%} is "tak": if player's ender chest can hold {_i} of {_d::item::%loop-value%}: add {_i} of {_d::item::%loop-value%} to player's ender chest else: drop {_i} of {_d::item::%loop-value%} at event-block else: drop {_i} of {_d::item::%loop-value%} at event-block loop {_d::xp::%loop-value%} times: give 1 xp to player if {_d::wiad::%loop-value%} is not "": replace all "ILOSC" in {_d::wiad::%loop-value%} with "%{_i}%" send "%{_d::wiad::%loop-value%}%" 2. Zapis if {diament.%player%.name} is "{@wlaczony}": if block's y-coordinate is smaller than {@diament-y}: if player's tool is iron pickaxe or gold pickaxe or diamond pickaxe: chance of {@diament-szansa} + {fortune} + {vip}: if player can hold 1 diamond: give 1 diamond to player's inventory add 1 to {diament.%player%.sztuki} set {xp} to random integer between 1 and 5 add {xp} to {xp.%player%} send "&6Udalo ci sie wydobyc: &3diament &f1szt. &8(&b+%{xp}%xp&8)" if {zelazo.%player%.name} is "{@wlaczony}": if player's tool is iron pickaxe or gold pickaxe or diamond pickaxe: if block's y-coordinate is smaller than {@zelazo-y}: chance of {@zelazo-szansa}: if player can hold 1 iron ingot: give 1 iron ingot to player's inventory add 1 to {zelazo.%player%.sztuki} set {xp} to random integer between 1 and 5 add {xp} to {xp.%player%} send "&6Udalo ci sie wydobyc: &fzelazo 1szt. &8(&b+%{xp}%xp&8)" 1zapis jest w configu. Czy jezeli w configu doda sie zapis diamentow i zelaza to bedzie to dzialalo jak zapis 2. Ktory zapis jest lepszy?
-
Mam pytanie. Pokaze wam 2zapisy (nie sa moje). 1. Zapis on break of stone: if player's tool is any pickaxe: if {qd::%player%::cobble} is "NIE": cancel event set event-block to air set {_1::*} to configuration section "drops" get of "plugins/QDrop/drops.yml" loop {_1::*}: set {_d::item::%loop-value%} to single value "drops.%loop-value%.item" get of "plugins/QDrop/drops.yml" parsed as item set {_d::sz::%loop-value%} to single value "drops.%loop-value%.szanse" get of "plugins/QDrop/drops.yml" parsed as number set {_d::xp::%loop-value%} to single value "drops.%loop-value%.xp" get of "plugins/QDrop/drops.yml" parsed as number set {_d::n::%loop-value%} to single value "drops.%loop-value%.nazwa" get of "plugins/QDrop/drops.yml" set {_d::for::%loop-value%} to single value "drops.%loop-value%.fortuna" get of "plugins/QDrop/drops.yml" set {_d::en::%loop-value%} to single value "drops.%loop-value%.enderchest" get of "plugins/QDrop/drops.yml" set {_d::wiad::%loop-value%} to colored single value "drops.%loop-value%.wiadomosc" get of "plugins/QDrop/drops.yml" parsed as text set {_d::imin::%loop-value%} to single value "drops.%loop-value%.ilosc.min" get of "plugins/QDrop/drops.yml" parsed as number set {_d::imax::%loop-value%} to single value "drops.%loop-value%.ilosc.max" get of "plugins/QDrop/drops.yml" parsed as number set {_d::pmin::%loop-value%} to single value "drops.%loop-value%.poziom.min" get of "plugins/QDrop/drops.yml" parsed as number set {_d::pmax::%loop-value%} to single value "drops.%loop-value%.poziom.max" get of "plugins/QDrop/drops.yml" parsed as number set {_xp} to single value "xp" get of "plugins/QDrop/drops.yml" parsed as number loop {_xp} times: give 1 xp to player if {_d::for::%loop-value%} is "tak": set {_f} to level of fortune of the player's tool/50 else: set {_f} to 0 if {qd::%player%::%loop-value%} is not "NIE": if y-coordinate of player is bigger or equal to {_d::pmin::%loop-value%}: if y-coordinate of player is less or equal to {_d::pmax::%loop-value%}: chance of {_d::sz::%loop-value%} +{_f}: set {_i} to random integer between {_d::imin::%loop-value%} and {_d::imax::%loop-value%} if player can hold {_i} of {_d::item::%loop-value%}: give player {_i} of {_d::item::%loop-value%} else: if {_d::en::%loop-value%} is "tak": if player's ender chest can hold {_i} of {_d::item::%loop-value%}: add {_i} of {_d::item::%loop-value%} to player's ender chest else: drop {_i} of {_d::item::%loop-value%} at event-block else: drop {_i} of {_d::item::%loop-value%} at event-block loop {_d::xp::%loop-value%} times: give 1 xp to player if {_d::wiad::%loop-value%} is not "": replace all "ILOSC" in {_d::wiad::%loop-value%} with "%{_i}%" send "%{_d::wiad::%loop-value%}%" 2. Zapis if {diament.%player%.name} is "{@wlaczony}": if block's y-coordinate is smaller than {@diament-y}: if player's tool is iron pickaxe or gold pickaxe or diamond pickaxe: chance of {@diament-szansa} + {fortune} + {vip}: if player can hold 1 diamond: give 1 diamond to player's inventory add 1 to {diament.%player%.sztuki} set {xp} to random integer between 1 and 5 add {xp} to {xp.%player%} send "&6Udalo ci sie wydobyc: &3diament &f1szt. &8(&b+%{xp}%xp&8)" if {zelazo.%player%.name} is "{@wlaczony}": if player's tool is iron pickaxe or gold pickaxe or diamond pickaxe: if block's y-coordinate is smaller than {@zelazo-y}: chance of {@zelazo-szansa}: if player can hold 1 iron ingot: give 1 iron ingot to player's inventory add 1 to {zelazo.%player%.sztuki} set {xp} to random integer between 1 and 5 add {xp} to {xp.%player%} send "&6Udalo ci sie wydobyc: &fzelazo 1szt. &8(&b+%{xp}%xp&8)" 1zapis jest w configu. Czy jezeli w configu doda sie zapis diamentow i zelaza to bedzie to dzialalo jak zapis 2. Ktory zapis jest lepszy?
-
Dziekuje ci bardzo. Temat do zamkniecia
-
Hej, w pluginie dodaje config do itemMeta. Mam blad przy setDisplayName <--- To sie swieci na czerwono, (zaznaczone jest). Ta czesc kodu jest napisana w innej klasie clearlore.addAll(Main.getPlugin(Main.class).getConfig().getStringList("chat.gui.clear-lore")); clearim.setDisplayName(Main.getPlugin(Main.class).getConfig().getStringList("chat.gui.clear-name")); I pytanie numer 2. Jak zrobic inventory w np. klasie main i zrobic tak zeby mozna bylo go uzywac w klasie np. DrugaKlasa
-
on join: add 1 to {gracze::*} every 4 tinutes in world "world": loop {gracze::*}: remove 1 from {woda.%loop-player%} lub every 4 minutes in world "world": loop all players: remove 1 from {woda.%loop-player%}
-
nikt z was nie zna eventu on inventory click???
-
Po co cancel ecent....
