Kapten
Membre-
Compteur de contenus
11 -
Inscription
-
Dernière visite
-
Crédits
3 [Faire un don]
Réputation sur la communauté
0 NeutreÀ propos de Kapten
-
Rang
Nouveau
Visiteurs récents du profil
1067 visualisations du profil
-
Kapten a commencé à suivre WGregions (WorldGuard & Worldedit API)
-
WGregions (WorldGuard & Worldedit API)
Kapten a commenté un(e) fichier de Anarchick dans Gestion de monde (worledit, ...)
Salut ! J'ai un petit problème avec cette addon, il me spam la console : WorldGuard v. 7.0.4+f7ff984 WorldEdit v. 7.2.0-SNAPSHOT+b9e750f >.... [12:03:26 WARN]: [Skript] No matching method: BukkitAdapter.adapt called with (<none> (Object)) >.... [12:03:26 WARN]: [Skript] Did you pass the wrong parameters? Here are the parameter signatures for adapt: >.... [12:03:26 WARN]: [Skript] * adapt(org.bukkit.entity.EntityType) >.... [12:03:26 WARN]: [Skript] * adapt(org.bukkit.block.Biome) >.... [12:03:26 WARN]: [Skript] * adapt(com.sk89q.worldedit.world.biome.BiomeType) >.... [12:03:26 WARN]: [Skript] * adapt(com.sk89q.worldedit.world.block.BlockType) >.... [12:03:26 WARN]: [Skript] * adapt(com.sk89q.worldedit.blocks.BaseItemStack) >.... [12:03:26 WARN]: [Skript] * adapt(org.bukkit.inventory.ItemStack) >.... [12:03:26 WARN]: [Skript] * adapt(com.sk89q.worldedit.world.block.BlockStateHolder) >.... [12:03:26 WARN]: [Skript] * adapt(org.bukkit.block.data.BlockData) >.... [12:03:26 WARN]: [Skript] * adapt(com.sk89q.worldedit.world.entity.EntityType) >.... [12:03:26 WARN]: [Skript] * adapt(com.sk89q.worldedit.entity.Player) >.... [12:03:26 WARN]: [Skript] * adapt(org.bukkit.block.BlockFace) >.... [12:03:26 WARN]: [Skript] * adapt(com.sk89q.worldedit.world.World) >.... [12:03:26 WARN]: [Skript] * adapt(org.bukkit.Location) >.... [12:03:26 WARN]: [Skript] * adapt(org.bukkit.World) >.... [12:03:26 WARN]: [Skript] * adapt(org.bukkit.command.CommandSender) >.... [12:03:26 WARN]: [Skript] * adapt(org.bukkit.entity.Player) >.... [12:03:26 WARN]: [Skript] * adapt(com.sk89q.worldedit.extension.platform.Actor) >.... [12:03:26 WARN]: [Skript] * adapt(org.bukkit.World,com.sk89q.worldedit.util.Location) >.... [12:03:26 WARN]: [Skript] * adapt(org.bukkit.entity.Entity) >.... [12:03:26 WARN]: [Skript] * adapt(com.sk89q.worldedit.world.item.ItemType) >.... [12:03:26 WARN]: [Skript] * adapt(org.bukkit.GameMode) >.... [12:03:26 WARN]: [Skript] * adapt(org.bukkit.World,com.sk89q.worldedit.math.BlockVector3) >.... [12:03:26 WARN]: [Skript] * adapt(org.bukkit.World,com.sk89q.worldedit.math.Vector3) >.... [12:03:26 WARN]: [Skript] * adapt(com.sk89q.worldedit.util.Location) >.... [12:03:26 WARN]: [Skript] Did you misspell the method? You may have meant to type one of the following: >.... [12:03:26 WARN]: [Skript] * wait >.... [12:03:26 WARN]: [Skript] No matching method: RegionQuery#getApplicableRegions called with (<none> (Object)) >.... [12:03:26 WARN]: [Skript] Did you pass the wrong parameters? Here are the parameter signatures for getApplicableRegions: >.... [12:03:26 WARN]: [Skript] * getApplicableRegions(com.sk89q.worldedit.util.Location)- 2 commentaires
-
- worldguard
- world
-
(et 4 en plus)
Étiqueté avec :
-
Kapten a gagné Trophée Deux ans déjà ?
-
Kapten a gagné Trophée Petit Nouveau
-
Dans quel évènement je peux check le lore des items placé dans la table de craft ? Et après je format le slot du résultat de la table de craft ?
-
Le problème avec ce que tu me dis c'est que ça marche avec n'importe quelle item dans la table, même ceux qui ont pas de lore
-
J'ai déjà essayé en remplaçant par des poches d'encre ça fait pareil
-
Bonjour, j'essaye de faire des crafts en utilisant des items avec des lores custom en passant par TuSke ([Contenu masqué]), mais cela ne semble pas marcher. J'utilise la dernière version de Spigot 1.12.2 avec Skript bensku dev35b et TuSke 1.8.2. options: #Copper copper_ingot : spawn_egg named "&6Copper Ingot" with lore "&8&oCopper_Ingot" copper_sword : iron_sword named "&6Copper Sword" with lore "&8&oCopper_Sword" copper_pickaxe : iron_pickaxe named "&6Copper Pickaxe" with lore "&8&oCopper_Pickaxe" #Steel steel_nugget : spawn_egg named "&fSteel Nugget" with lore "&8&oSteel_Nugget" steel_ingot : spawn_egg named "&fSteel Ingot" with lore "&8&oSteel_Ingot" #Autres uranium_sword : diamond_sword named "&aUranium Sword" with lore "&8&oUranium_Sword" On skript load: # Copper register new custom shaped recipe with result {@copper_sword} using spawn_egg with lore "&8&oCopper_Ingot" and stick with shape "a", "a" and "b" register new custom shaped recipe with result {@copper_pickaxe} using spawn_egg with lore "&8&oCopper_Ingot" and stick and air with shape "aaa", "cbc" and "cbc" # Steel register new custom furnace recipe with result {@steel_nugget} using iron_ingot register new custom shaped recipe with result {@steel_ingot} using spawn_egg with lore "&8&oSteel_Nugget" with shape "aaa", "aaa" and "aaa" #Autres register new custom shaped recipe with result {@uranium_sword} using spawn_egg with lore "&8&oUranium_Ingot" and blaze_rod with shape "a", "a" and "b"
-
Merci beaucoup tout marche parfaitement maintenant !! :)
-
Lorsque je met : loop 27 times: add loop-number to {_slotnum::*} Dans on load ça ne fait pas d'erreur mais les coffres reste vide après exécution du refill
-
Finalement je suis passé par une fonction comme uiytt me l'a conseillé mais j'ai remarqué que lorsque je refill beaucoup de coffre (plusieurs dizaines) cela fait lagger le serveur, y a t'il un moyen d'optimiser le refill ? options: prefix: &bLootChest > perm: lootchest.perm noperm: &cYou don't have the permission to do that! minitems: 6 maxitems: 11 function RefillChest(null: int=0): set {twd.lootchest.last_refill} to now broadcast "&b&3Chests refilled in 3s" wait 1 second broadcast "&b&3Chests refilled in 2s" wait 1 second broadcast "&b&3Chests refilled in 1s" wait 1 second broadcast "&bChests have been refilled" loop {cheloc::*}: set {_cheslot::*} to "" loop 27 times: add loop-number to {_slotnum::*} clear inventory of block at loop-value wait 1 tick set {_loop} to a random integer between {@minitems} and {@maxitems} loop {_loop} times: set {_cheitem} to a random element out of {ritem::*} set {_cheslot} to a random element out of {_slotnum::*} add {_cheitem} to slot ({_cheslot} - 1) of block at loop-value-1 on load: set {_refill} to true clear {ritem::*} add 8 snowballs to {ritem::*} add 16 eggs to {ritem::*} add 32 eggs to {ritem::*} add 8 eggs to {ritem::*} add iron sword to {ritem::*} add iron helmet to {ritem::*} add iron chestplate to {ritem::*} add iron leggings to {ritem::*} add iron boots to {ritem::*} add diamond chestplate to {ritem::*} add diamond helmet to {ritem::*} add diamond leggings to {ritem::*} add diamond boots to {ritem::*} add 32 arrow to {ritem::*} add 16 arrow to {ritem::*} add 24 arrow to {ritem::*} add 32 stone to {ritem::*} add 16 stone to {ritem::*} add 24 bricks to {ritem::*} add 32 bricks to {ritem::*} add shield to {ritem::*} add bow to {ritem::*} add leather boots to {ritem::*} add leather helmet to {ritem::*} add leather chestplate to {ritem::*} add leather leggings to {ritem::*} add 16 snowballs to {ritem::*} add 32 snowballs to {ritem::*} add 1 golden apple to {ritem::*} add 2 golden apple to {ritem::*} add 4 golden apple to {ritem::*} add 32 oak planks to {ritem::*} add 16 oak planks to {ritem::*} add 64 oak planks to {ritem::*} add 1 ender pearl to {ritem::*} add 2 ender pearl to {ritem::*} add 32 experience bottle to {ritem::*} add 64 experience bottle to {ritem::*} add water_bottle:8194 to {ritem::*} add water_bottle:8201 to {ritem::*} add 2 diamond to {ritem::*} RefillChest() command /lootchest [<text>]: trigger: if arg 1 is "add": if player has permission "{@perm}": if target block is chest: loop {cheloc::*}: if loop-value is location of target block: message "{@prefix} This chest has already been checked as a mCHEST!" stop add location of target block to {cheloc::*} message "{@prefix} Succesfully executed &3AddChest" else: message "&b{@prefix} You need to select a chest!" else: message "{@noperm}" if arg 1 is "remove": if player has permission "{@perm}": if target block is a chest or stone: remove location of target block from {cheloc::*} message "{@prefix} Succesfully removed the selected chest!" clear inventory of target block stop else: message "{@prefix} You need to select a chest!" else: message "{@noperm}" if arg 1 is "refill": if player has permission "{@perm}": RefillChest() else: message "{@noperm}" if arg 1 is not set: if player has permission "{@perm}": message "{@prefix} You need to specify a command! Usage: /mchest <add/remove/refill>" else: message "{@noperm}"
-
Bonjour, je suis débutant en Skript et j'aimerai savoir s'il est possible de réutiliser la commande "refill" du Skript pour l'exécuter automatiquement tout les X minutes, et si possible avec un compte à rebours. J'utilise la dernière version de Script et de Spigot 1.12 Merci d'avance pour votre aide !! :) options: prefix: &bLootChest > perm: is.admin noperm: &cYou don't have the permission to do that! minitems: 6 maxitems: 11 version: 1.0 on load: clear {ritem::*} add 8 snowballs to {ritem::*} add 16 eggs to {ritem::*} add 32 eggs to {ritem::*} add 8 eggs to {ritem::*} add iron sword to {ritem::*} add iron helmet to {ritem::*} add iron chestplate to {ritem::*} add iron leggings to {ritem::*} add iron boots to {ritem::*} add diamond chestplate to {ritem::*} add diamond helmet to {ritem::*} add diamond leggings to {ritem::*} add diamond boots to {ritem::*} add 32 arrow to {ritem::*} add 16 arrow to {ritem::*} add 24 arrow to {ritem::*} add 32 stone to {ritem::*} add 16 stone to {ritem::*} add 24 bricks to {ritem::*} add 32 bricks to {ritem::*} add shield to {ritem::*} add bow to {ritem::*} add leather boots to {ritem::*} add leather helmet to {ritem::*} add leather chestplate to {ritem::*} add leather leggings to {ritem::*} add 16 snowballs to {ritem::*} add 32 snowballs to {ritem::*} add 1 golden apple to {ritem::*} add 2 golden apple to {ritem::*} add 4 golden apple to {ritem::*} add 32 oak planks to {ritem::*} add 16 oak planks to {ritem::*} add 64 oak planks to {ritem::*} add 1 ender pearl to {ritem::*} add 2 ender pearl to {ritem::*} add 32 experience bottle to {ritem::*} add 64 experience bottle to {ritem::*} add water_bottle:8194 to {ritem::*} add water_bottle:8201 to {ritem::*} add 2 diamond to {ritem::*} set {twd.lootchest.last_refill} to now broadcast "&bChests have been refilled" loop {cheloc::*}: set {_cheslot::*} to "" loop 27 times: add loop-number to {_slotnum::*} clear inventory of block at loop-value wait 1 tick set {_loop} to a random integer between {@minitems} and {@maxitems} loop {_loop} times: set {_cheitem} to a random element out of {ritem::*} set {_cheslot} to a random element out of {_slotnum::*} add {_cheitem} to slot ({_cheslot} - 1) of block at loop-value-1 command /lootchest [<text>]: trigger: if arg 1 is "add": if player has permission "{@perm}": if target block is chest: loop {cheloc::*}: if loop-value is location of target block: message "{@prefix} This chest has already been checked as a mCHEST!" stop add location of target block to {cheloc::*} message "{@prefix} Succesfully executed &3AddChest" else: message "&b{@prefix} You need to select a chest!" else: message "{@noperm}" if arg 1 is "remove": if player has permission "{@perm}": if target block is a chest or stone: remove location of target block from {cheloc::*} message "{@prefix} Succesfully removed the selected chest!" clear inventory of target block stop else: message "{@prefix} You need to select a chest!" else: message "{@noperm}" if arg 1 is "refill": if player has permission "{@perm}": set {twd.lootchest.last_refill} to now broadcast "&b&3Chests refilled in 3s" wait 1 second broadcast "&b&3Chests refilled in 2s" wait 1 second broadcast "&b&3Chests refilled in 1s" wait 1 second broadcast "&bChests have been refilled" loop {cheloc::*}: set {_cheslot::*} to "" loop 27 times: add loop-number to {_slotnum::*} clear inventory of block at loop-value wait 1 tick set {_loop} to a random integer between {@minitems} and {@maxitems} loop {_loop} times: set {_cheitem} to a random element out of {ritem::*} set {_cheslot} to a random element out of {_slotnum::*} add {_cheitem} to slot ({_cheslot} - 1) of block at loop-value-1 else: message "{@noperm}" if arg 1 is "about" OR "version": message "&3&lmChests &r&b> Currently running version &3{@version}" if arg 1 is not set: if player has permission "{@perm}": message "{@prefix} You need to specify a command! Usage: /mchest <add/remove/refill>" else: message "{@noperm}" every 300 second: make console execute command "/lootchest refill" as op