-
Ilość zawartości
1542 -
Rejestracja
-
Ostatnia wizyta
-
Wygrane w rankingu
4
Treść opublikowana przez kapi.
-
Gdyby chciał to sam ktoś naprawić https://github.com/esejj/luckyDrop/releases ... Co do tematu @insertt jak to może nie być Main lol Mój aktualny main: Plik konfiguracyjny oraz folder z zawartością się stworzyły, lecz komenda nie działa powie ktoś o co chodzi? ;x //edit: dodałem to getCommand(..) do onEnable i mam is it up to date
-
eStone polecam w moim spisie skryptów na forum znajdziesz tylko , że bez komendy więc dodasz sobie command /dajstoniarka: trigger: add 1 of blok_stoniarki_z_options named "nazwa" to player
-
Tak, daj config.
-
To wklej po prostu same wiadomości do messages_def Daj plik konfiguracyjny z pluginu.
-
Usun # z # Language File : EN - English // czyli zrob Language File : EN - English I ustaw wszędzie , aby było EN a nie PL będzie lepiej
-
Masz SkQuery i WildSkript? By the way... znów edytowałem kod powyżej. @750_post ♥
-
No w Eclipsie też jest edytor XD
-
To był bejtowy kod , który był nie testowany XD Edytowany kod użytkownika @ByczekTV jest jak najbardziej poprawny.
-
daj przed wysyłaniem if {_mess.time} >= 3: # Ilosc razy ile to ma sie wyswietlac send "jestes chory idz sie zabij xd" to loop-player add 1 to {_mess.time} wait 2 seconds
-
Zrobiłem swój kod , ale nie chciał działać to na początek muszę się nauczyć. Mógłbyś mi to wkleić już tam gdzie powinno to być? //edit: @stefanik11 niestety plugin nadal się nie chce załadować po zmianie maina w plugin.yml Nowe błędy:
-
Tam taka historyjka... A więc tak.. błędy to [05:06:12 INFO]: Set PluginClassLoader as parallel capable [05:06:12 ERROR]: Could not load 'plugins\luckyDrop (beta).jar' in folder 'plugins' org.bukkit.plugin.InvalidPluginException: Cannot find main class `dev.esejj.luckydrop' at org.bukkit.plugin.java.PluginClassLoader.<init>(PluginClassLoader.java:66) ~[eSilnik.jar:git-Spigot-db6de12-18fbb24] at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:131) ~[eSilnik.jar:git-Spigot-db6de12-18fbb24] at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:329) ~[eSilnik.jar:git-Spigot-db6de12-18fbb24] at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:251) [eSilnik.jar:git-Spigot-db6de12-18fbb24] at org.bukkit.craftbukkit.v1_8_R3.CraftServer.loadPlugins(CraftServer.java:292) [eSilnik.jar:git-Spigot-db6de12-18fbb24] at net.minecraft.server.v1_8_R3.DedicatedServer.init(DedicatedServer.java:198) [eSilnik.jar:git-Spigot-db6de12-18fbb24] at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:525) [eSilnik.jar:git-Spigot-db6de12-18fbb24] at java.lang.Thread.run(Unknown Source) [?:1.8.0_144] Caused by: java.lang.ClassNotFoundException: dev.esejj.luckydrop at java.net.URLClassLoader.findClass(Unknown Source) ~[?:1.8.0_144] at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:101) ~[eSilnik.jar:git-Spigot-db6de12-18fbb24] at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:86) ~[eSilnik.jar:git-Spigot-db6de12-18fbb24] at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_144] at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_144] at java.lang.Class.forName0(Native Method) ~[?:1.8.0_144] at java.lang.Class.forName(Unknown Source) ~[?:1.8.0_144] at org.bukkit.plugin.java.PluginClassLoader.<init>(PluginClassLoader.java:64) ~[eSilnik.jar:git-Spigot-db6de12-18fbb24] ... 7 more BlockBreakListener DataLoader DropType EntityDeathListener ItemToDrop ♥ Main ♥ Utils Plugin.yml ↓ main: dev.esejj.luckydrop name: luckyDrop version: 0.1 author: esej description: Drop ze stone. commands: luckydrop:drop: usage: /drop permission: esej.luckydrop permission-message: Nie posiadasz uprawnien (esej.luckydrop) aliases: [drop, surowce, kamien, stone] @Wizzard
-
Dobra do zamknięcia
-
Napisz mi co chcesz , aby Tobie skonfigurować i wyślę Ci kod ty go sprawdzisz. I wtedy można ocenić czy to jest błąd z pluginem czy z plikiem konfiguracyjnym.
-
Konsola ma dostęp. executable by: player, console Odpowiada za to linijka wyżej.
-
loop all players: add 1 to {_allplayer} set {_player::%{_allplayer}%} to loop-player set {_x} to a random integer between 1 and {_allplayer} apply (efekt) (sila efektu) to {_player::%{_x}%} parsed as an player for 3600 seconds send "wiadomosc" to {_player::%{_x}%} parsed as an player delete {_allplayer} delete {_player::*} (raczej )Działający, lecz długi sposób.
-
Siema, siema o tej porze każdy wypić może... mam do was takie ŚMIESZNE() pytanie XD Co sądzicie o pisaniu skryptów w Eclipsie? Chodzi o Eclipse JavaSkript xD w Eclipsie jest gotowa licencja EPL więc nie musimy sie o nic martwić XD Taki se edytor tekstu dla skryptów w ECLIPSIE XDDD
-
Ale jaki błąd w kodzie mam to było moim pytaniem.
-
package com.earth2me.essentials.commands; import com.earth2me.essentials.CommandSource; import com.earth2me.essentials.I18n; import com.earth2me.essentials.User; import com.earth2me.essentials.utils.FormatUtil; import java.util.logging.Level; import java.util.logging.Logger; import net.ess3.api.IEssentials; import org.bukkit.Server; public class Commandhelpop extends EssentialsCommand { public Commandhelpop() { super("helpop"); } public void run(Server server, User user, String commandLabel, String[] args) throws Exception { user.setDisplayNick(); String message = sendMessage(user.getSource(), user.getDisplayName(), args); if (!user.isAuthorized("esej.helpop.receive")) { user.sendMessage(message); } } public void run(Server server, CommandSource sender, String commandLabel, String[] args) throws Exception { sendMessage(server, sender, "ROOT", args); } private String sendMessage(Server server, CommandSource sender, String from, String[] args) throws Exception { if (args.length < 1) { throw new NotEnoughArgumentsException(); } String message = I18n.tl("helpOp", new Object[] { from, FormatUtil.stripFormat(getFinalArg(args, 0)) }); server.getLogger().log(Level.INFO, message); this.ess.broadcastMessage("esej.helpop.receive", message); return message; } } Póki co na razie wzoruję się na innych pluginach edytuje itp... lecz coś mi tu nie chce działać pomoże ktoś? @Wizzard? @KrejzolekPRO
-
Rozumiem , że plik konfiguracyjny. Oznacza to, iż źle go konfigurujesz.
-
Edytowałem już tamten kod i powinno działać
-
on death: if attacker is player: if victim is player: add 1 to {kills::%attacker%} send "&7" to attacker strike lightning effect at victim send "&a&lAD&f&lKU &9â�� &7Zabiles gracza %victim%, dostajesz za niego &e40$, diamenta." to attacker send "&7" to attacker add 40 to balance of attacker add 1 diamond to attacker Ostatnio "balance" jest zbugowany coś ;c
-
tysionc złotych prosze mi tu dac variables: {delayWakacje::%player%} = 0 command /wakacje: trigger: {delayWakacje::%player%} = 0: give 1 glowing enderchest named "&8» &6&lWakacje &8«" to player send "&8» &7To sa wakacje! &6Baw sie razem z wszystkimi!" to player add 24 to {delayWakacje::%player%} else: send "&8» &cMusisz jeszcze odczekac! &8(&7Time: &6%{delayWakacje::%player%}% h. &8)" to player stop every hour: loop all players: {delayWakacje::%loop-player%} > 0: subtract 1 from {delayWakacje::%loop-player%} on right click: item type of player's tool is enderchest: uncoloured name of player's tool is "» Wakacje «": cancel event chance of 25%: drop 1 of diamond sword at event-location chance of 75%: drop 1 of iron sword at event-location remove 1 player's tool from player
-
Wklej mój kod i usuń real
-
options: tag: &8[&6» &c&lOGLOSZENIE &6«&8] on skript load: # Zmienna (MESSAGE) sluzy jako wiadomosc... # Zmienna (TAG) sluzy jako tag z opcji set {format-broadcast} to "(TAG) (MESSAGE)" command /ogloszenie [<text="&cbrak">] description: Ogloszenia. aliases: /essentials:say, /say, /essentials:bc, /bc, /essentials:broadcast, /broadcast, /ebc, /ebroadcast executable by: player, console permission: skript.say.command permission message: &cNie masz uprawnien trigger: argument is set: {format-broadcast} is set: replace all "(TAG)" with "{@tag}" in {format-broadcast} replace all "(MESSAGE)" with "%coloured argument%" in {format-broadcast} broadcast "%{format-broadcast}%" else: send "&8» &cFormat nie jest ustawiony!" to the player else: send "&8» &4Blad: &cZostala wyslana wiadomosc podstawowa, z racji iz nic nie napisales" to the player stop Konfigurujesz tag oraz format
