Valeurs de blocs

Nemrod505

Bucheron
28 Janvier 2018
42
0
11
Bonjour,
j'ai refait les valeurs des blocs dans le fichier blockvalue de askyblock, mais mon level d'ile ne change pas quoi que je mette comme blocs...
merci de m'aider :)
 
Bonjour !

Je ne connais pas ben Askyblock mais as-tu essayé en créant une nouvelle île ?

AlexFatta
 
Salut,

Je ne connais pas ce plugin...
Peux-tu nous donner un exemple de ce que tu veux faire et de la config que tu as fait pour ça :) Je vois que le plugin est open source, je regarderai en fonction de ça ce que le plugin fait et si c'est vraiment ce que tu veux ;)


Cordialement,
Detobel36
 
Bonjour,
oui je viens d'essayer la commande /asadmin topten, mais pas de résultat sur la valeur de mon ile,
Par contre depuis que je suis rentré, j'ai ça comme message d'erreur dans la console :

[18:25:31] [Server thread/INFO]: [ASkyBlock] Enabling ASkyBlock v3.0.8.2
[18:25:31] [Server thread/INFO]: [ASkyBlock] Loading entity limits
[18:25:31] [Server thread/WARN]: org.bukkit.configuration.InvalidConfigurationException: while parsing a block mapping
in 'string', line 12, column 1:
levelcost: 100
^
expected <block end>, but found BlockMappingStart
in 'string', line 40, column 3:
COBBLESTONE: 10000
^
[18:25:31] [Server thread/WARN]: at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:56)
[18:25:31] [Server thread/WARN]: at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:184)
[18:25:31] [Server thread/WARN]: at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:130)
[18:25:31] [Server thread/WARN]: at com.wasteofplastic.askyblock.util.Util.loadYamlFile(Util.java:72)
[18:25:31] [Server thread/WARN]: at com.wasteofplastic.askyblock.PluginConfig.loadPluginConfig(PluginConfig.java:858)
[18:25:31] [Server thread/WARN]: at com.wasteofplastic.askyblock.ASkyBlock.onEnable(ASkyBlock.java:291)
[18:25:31] [Server thread/WARN]: at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:271)
[18:25:31] [Server thread/WARN]: at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:337)
[18:25:31] [Server thread/WARN]: at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:405)
[18:25:31] [Server thread/WARN]: at org.bukkit.craftbukkit.v1_11_R1.CraftServer.enablePlugin(CraftServer.java:376)
[18:25:31] [Server thread/WARN]: at org.bukkit.craftbukkit.v1_11_R1.CraftServer.enablePlugins(CraftServer.java:326)
[18:25:31] [Server thread/WARN]: at org.bukkit.craftbukkit.v1_11_R1.CraftServer.reload(CraftServer.java:749)
[18:25:31] [Server thread/WARN]: at org.bukkit.Bukkit.reload(Bukkit.java:540)
[18:25:31] [Server thread/WARN]: at org.bukkit.command.defaults.ReloadCommand.execute(ReloadCommand.java:25)
[18:25:31] [Server thread/WARN]: at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141)
[18:25:31] [Server thread/WARN]: at org.bukkit.craftbukkit.v1_11_R1.CraftServer.dispatchCommand(CraftServer.java:650)
[18:25:31] [Server thread/WARN]: at org.bukkit.craftbukkit.v1_11_R1.CraftServer.dispatchServerCommand(CraftServer.java:636)
[18:25:31] [Server thread/WARN]: at net.minecraft.server.v1_11_R1.DedicatedServer.aM(DedicatedServer.java:437)
[18:25:31] [Server thread/WARN]: at net.minecraft.server.v1_11_R1.DedicatedServer.D(DedicatedServer.java:400)
[18:25:31] [Server thread/WARN]: at net.minecraft.server.v1_11_R1.MinecraftServer.C(MinecraftServer.java:678)
[18:25:31] [Server thread/WARN]: at net.minecraft.server.v1_11_R1.MinecraftServer.run(MinecraftServer.java:576)
[18:25:31] [Server thread/WARN]: at java.lang.Thread.run(Thread.java:745)
[18:25:31] [Server thread/WARN]: Caused by: while parsing a block mapping
in 'string', line 12, column 1:
levelcost: 100
^
expected <block end>, but found BlockMappingStart
in 'string', line 40, column 3:
COBBLESTONE: 10000
^
[18:25:31] [Server thread/WARN]: at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(ParserImpl.java:569)
[18:25:31] [Server thread/WARN]: at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:157)
[18:25:31] [Server thread/WARN]: at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:147)
[18:25:31] [Server thread/WARN]: at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:224)
[18:25:31] [Server thread/WARN]: at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:155)
[18:25:31] [Server thread/WARN]: at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:122)
[18:25:31] [Server thread/WARN]: at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105)
[18:25:31] [Server thread/WARN]: at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:120)
[18:25:31] [Server thread/WARN]: at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:450)
[18:25:31] [Server thread/WARN]: at org.yaml.snakeyaml.Yaml.load(Yaml.java:369)
[18:25:31] [Server thread/WARN]: at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:54)
[18:25:31] [Server thread/WARN]: ... 21 more
[18:25:31] [Server thread/ERROR]: [ASkyBlock] No block values in blockvalues.yml! All island levels will be zero!

Je ne comprends plus rien....
Avant j'avais ça :

# This section lists the limits for any particular block. Blocks over this amount
# are not counted.
# Format:
# MATERIAL: limit or MATERIAL:DATA: limit.
# If DATA is used, there MUST be a corresponding block:data value in the blocks list.
# For example, if you limit Jungle Logs LOG:3, then there must be a value for LOG:3
# in the blocks section. If there is not, then LOG:3 would have no value.
# limits:
COBBLESTONE: 10000
NETHERRACK: 1000
#LOG:3: 10

# This section lists the value of a block. Value must be an integer.
# Any blocks not listed will have a value of zero.
# Format is MATERIAL: value or MATERIAL:DATA: value.

blocks:
ACACIA_DOOR: 20
ACACIA_STAIRS: 10
ACACIA_FENCE: 20
ACACIA_FENCE_GATE: 30
ACTIVATOR_RAIL: 200
AIR: 0
ANVIL: 10
ARMOR_STAND: 10
BANNER: 50
BEACON: 100
BED_BLOCK: 50
BEDROCK: 0

j'ai juste enlevé le # devant #limits et je n'ai plus de message d'erreur dans la console...

Et cerise sur le gateau, j'ai du level d'ile...
:)
Merci à tous pour vos conseils qui m'ont amené à réfléchir
:merci
 
Dernière édition par un modérateur: