yamakaja / commanditems Goto Github PK
View Code? Open in Web Editor NEWAssign commands to items
Home Page: https://www.spigotmc.org/resources/command-items.42556/
License: MIT License
Assign commands to items
Home Page: https://www.spigotmc.org/resources/command-items.42556/
License: MIT License
CommonPick:
item:
type: CHEST
name: "&7&lRandom Stone Tool"
lore: ["&6Right Click&b to claim tool!"]
glow: true
consumed: true
cooldown: 1
actions:
- { action: COMMAND, by: CONSOLE, command: "give {player} stone_pickaxe{Enchantments:[{id:efficiency,lvl:3},{id:unbreaking,lvl:1}]} 1" }
- { action: MESSAGE, to: PLAYER, message: "&6You got:&a&l Common&7 Stone&a Pickaxe!" }
It just happened I don't know why, teh plugin was working perfectly
14.04 09:53:06 [Server] INFO Enabling CommandItems v2.4.0
14.04 09:53:06 [Server] WARN Could not save config.yml to plugins/CommandItems/config.yml because config.yml already exists.
14.04 09:53:06 [Server] WARN Could not save messages.yml to plugins/CommandItems/messages.yml because messages.yml already exists.
14.04 09:53:07 [Server] ERROR Error occurred while enabling CommandItems v2.4.0 (Is it up to date?)
14.04 09:53:07 [Server] INFO java.lang.RuntimeException: Failed to read config!
14.04 09:53:07 [Server] INFO at me.yamakaja.commanditems.parser.ConfigManager.parse(ConfigManager.java:39) ~[CommandItems-2.4.0-all.jar:?]
14.04 09:53:07 [Server] INFO at me.yamakaja.commanditems.CommandItems.onEnable(CommandItems.java:37) ~[CommandItems-2.4.0-all.jar:?]
14.04 09:53:07 [Server] INFO at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:264) ~[patched_1.17.1.jar:git-Purpur-1428]
14.04 09:53:07 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:370) ~[patched_1.17.1.jar:git-Purpur-1428]
14.04 09:53:07 [Server] INFO at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:500) ~[patched_1.17.1.jar:git-Purpur-1428]
14.04 09:53:07 [Server] INFO at org.bukkit.craftbukkit.v1_17_R1.CraftServer.enablePlugin(CraftServer.java:561) ~[patched_1.17.1.jar:git-Purpur-1428]
14.04 09:53:07 [Server] INFO at org.bukkit.craftbukkit.v1_17_R1.CraftServer.enablePlugins(CraftServer.java:475) ~[patched_1.17.1.jar:git-Purpur-1428]
14.04 09:53:07 [Server] INFO at net.minecraft.server.MinecraftServer.loadWorld(MinecraftServer.java:736) ~[patched_1.17.1.jar:git-Purpur-1428]
14.04 09:53:07 [Server] INFO at net.minecraft.server.dedicated.DedicatedServer.initServer(DedicatedServer.java:353) ~[patched_1.17.1.jar:git-Purpur-1428]
14.04 09:53:07 [Server] INFO at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1233) ~[patched_1.17.1.jar:git-Purpur-1428]
14.04 09:53:07 [Server] INFO at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:322) ~[patched_1.17.1.jar:git-Purpur-1428]
14.04 09:53:07 [Server] INFO at java.lang.Thread.run(Thread.java:833) ~[?:?]
14.04 09:53:07 [Server] INFO Caused by: me.yamakaja.commanditems.lib.com.fasterxml.jackson.databind.JsonMappingException: while parsing a block mapping
14.04 09:53:07 [Server] INFO in 'reader', line 10, column 3:
14.04 09:53:07 [Server] INFO fly:
14.04 09:53:07 [Server] INFO ^
14.04 09:53:07 [Server] INFO expected , but found BlockMappingStart
14.04 09:53:07 [Server] INFO in 'reader', line 123, column 4:
14.04 09:53:07 [Server] INFO transportador:
14.04 09:53:07 [Server] INFO ^
14.04 09:53:07 [Server] INFO at [Source: (File); line: 123, column: 4]
14.04 09:53:07 [Server] INFO at [Source: (File); line: 123, column: 4] (through reference chain: me.yamakaja.commanditems.data.CommandItemsConfig["items"])
14.04 09:53:07 [Server] INFO at me.yamakaja.commanditems.lib.com.fasterxml.jackson.databind.JsonMappingException.wrapWithPath(JsonMappingException.java:391) ~[CommandItems-2.4.0-all.jar:?]
14.04 09:53:07 [Server] INFO at me.yamakaja.commanditems.lib.com.fasterxml.jackson.databind.JsonMappingException.wrapWithPath(JsonMappingException.java:351) ~[CommandItems-2.4.0-all.jar:?]
14.04 09:53:07 [Server] INFO at me.yamakaja.commanditems.lib.com.fasterxml.jackson.databind.deser.BeanDeserializerBase.wrapAndThrow(BeanDeserializerBase.java:1689) ~[CommandItems-2.4.0-all.jar:?]
14.04 09:53:07 [Server] INFO at me.yamakaja.commanditems.lib.com.fasterxml.jackson.databind.deser.BeanDeserializer.vanillaDeserialize(BeanDeserializer.java:289) ~[CommandItems-2.4.0-all.jar:?]
14.04 09:53:07 [Server] INFO at me.yamakaja.commanditems.lib.com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:151) ~[CommandItems-2.4.0-all.jar:?]
14.04 09:53:07 [Server] INFO at me.yamakaja.commanditems.lib.com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:4001) ~[CommandItems-2.4.0-all.jar:?]
14.04 09:53:07 [Server] INFO at me.yamakaja.commanditems.lib.com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:2890) ~[CommandItems-2.4.0-all.jar:?]
14.04 09:53:07 [Server] INFO at me.yamakaja.commanditems.parser.ConfigManager.parse(ConfigManager.java:37) ~[CommandItems-2.4.0-all.jar:?]
14.04 09:53:07 [Server] INFO ... 11 more
14.04 09:53:07 [Server] INFO Caused by: me.yamakaja.commanditems.lib.com.fasterxml.jackson.dataformat.yaml.snakeyaml.error.MarkedYAMLException: while parsing a block mapping
14.04 09:53:07 [Server] INFO in 'reader', line 10, column 3:
14.04 09:53:07 [Server] INFO fly:
14.04 09:53:07 [Server] INFO ^
14.04 09:53:07 [Server] INFO expected , but found BlockMappingStart
14.04 09:53:07 [Server] INFO in 'reader', line 123, column 4:
14.04 09:53:07 [Server] INFO transportador:
14.04 09:53:07 [Server] INFO ^
14.04 09:53:07 [Server] INFO at [Source: (File); line: 123, column: 4]
14.04 09:53:07 [Server] INFO at me.yamakaja.commanditems.lib.com.fasterxml.jackson.dataformat.yaml.snakeyaml.error.MarkedYAMLException.from(MarkedYAMLException.java:27) ~[CommandItems-2.4.0-all.jar:?]
14.04 09:53:07 [Server] INFO at me.yamakaja.commanditems.lib.com.fasterxml.jackson.dataformat.yaml.YAMLParser.nextToken(YAMLParser.java:346) ~[CommandItems-2.4.0-all.jar:?]
14.04 09:53:07 [Server] INFO at me.yamakaja.commanditems.lib.com.fasterxml.jackson.core.JsonParser.nextFieldName(JsonParser.java:825) ~[CommandItems-2.4.0-all.jar:?]
14.04 09:53:07 [Server] INFO at me.yamakaja.commanditems.lib.com.fasterxml.jackson.databind.deser.std.MapDeserializer._readAndBindStringKeyMap(MapDeserializer.java:512) ~[CommandItems-2.4.0-all.jar:?]
14.04 09:53:07 [Server] INFO at me.yamakaja.commanditems.lib.com.fasterxml.jackson.databind.deser.std.MapDeserializer.deserialize(MapDeserializer.java:364) ~[CommandItems-2.4.0-all.jar:?]
14.04 09:53:07 [Server] INFO at me.yamakaja.commanditems.lib.com.fasterxml.jackson.databind.deser.std.MapDeserializer.deserialize(MapDeserializer.java:29) ~[CommandItems-2.4.0-all.jar:?]
14.04 09:53:07 [Server] INFO at me.yamakaja.commanditems.lib.com.fasterxml.jackson.databind.deser.impl.FieldProperty.deserializeAndSet(FieldProperty.java:136) ~[CommandItems-2.4.0-all.jar:?]
14.04 09:53:07 [Server] INFO at me.yamakaja.commanditems.lib.com.fasterxml.jackson.databind.deser.BeanDeserializer.vanillaDeserialize(BeanDeserializer.java:287) ~[CommandItems-2.4.0-all.jar:?]
14.04 09:53:07 [Server] INFO at me.yamakaja.commanditems.lib.com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:151) ~[CommandItems-2.4.0-all.jar:?]
14.04 09:53:07 [Server] INFO at me.yamakaja.commanditems.lib.com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:4001) ~[CommandItems-2.4.0-all.jar:?]
14.04 09:53:07 [Server] INFO at me.yamakaja.commanditems.lib.com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:2890) ~[CommandItems-2.4.0-all.jar:?]
14.04 09:53:07 [Server] INFO at me.yamakaja.commanditems.parser.ConfigManager.parse(ConfigManager.java:37) ~[CommandItems-2.4.0-all.jar:?]
14.04 09:53:07 [Server] INFO ... 11 more
14.04 09:53:07 [Server] INFO Caused by: me.yamakaja.commanditems.lib.org.yaml.snakeyaml.parser.ParserException: while parsing a block mapping
14.04 09:53:07 [Server] INFO in 'reader', line 10, column 3:
14.04 09:53:07 [Server] INFO fly:
14.04 09:53:07 [Server] INFO ^
14.04 09:53:07 [Server] INFO expected , but found BlockMappingStart
14.04 09:53:07 [Server] INFO in 'reader', line 123, column 4:
14.04 09:53:07 [Server] INFO transportador:
14.04 09:53:07 [Server] INFO ^
14.04 09:53:07 [Server] INFO at me.yamakaja.commanditems.lib.org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(ParserImpl.java:569) ~[CommandItems-2.4.0-all.jar:?]
14.04 09:53:07 [Server] INFO at me.yamakaja.commanditems.lib.org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:157) ~[CommandItems-2.4.0-all.jar:?]
14.04 09:53:07 [Server] INFO at me.yamakaja.commanditems.lib.org.yaml.snakeyaml.parser.ParserImpl.getEvent(ParserImpl.java:167) ~[CommandItems-2.4.0-all.jar:?]
14.04 09:53:07 [Server] INFO at me.yamakaja.commanditems.lib.com.fasterxml.jackson.dataformat.yaml.YAMLParser.nextToken(YAMLParser.java:343) ~[CommandItems-2.4.0-all.jar:?]
14.04 09:53:07 [Server] INFO at me.yamakaja.commanditems.lib.com.fasterxml.jackson.core.JsonParser.nextFieldName(JsonParser.java:825) ~[CommandItems-2.4.0-all.jar:?]
14.04 09:53:07 [Server] INFO at me.yamakaja.commanditems.lib.com.fasterxml.jackson.databind.deser.std.MapDeserializer._readAndBindStringKeyMap(MapDeserializer.java:512) ~[CommandItems-2.4.0-all.jar:?]
14.04 09:53:07 [Server] INFO at me.yamakaja.commanditems.lib.com.fasterxml.jackson.databind.deser.std.MapDeserializer.deserialize(MapDeserializer.java:364) ~[CommandItems-2.4.0-all.jar:?]
14.04 09:53:07 [Server] INFO at me.yamakaja.commanditems.lib.com.fasterxml.jackson.databind.deser.std.MapDeserializer.deserialize(MapDeserializer.java:29) ~[CommandItems-2.4.0-all.jar:?]
14.04 09:53:07 [Server] INFO at me.yamakaja.commanditems.lib.com.fasterxml.jackson.databind.deser.impl.FieldProperty.deserializeAndSet(FieldProperty.java:136) ~[CommandItems-2.4.0-all.jar:?]
14.04 09:53:07 [Server] INFO at me.yamakaja.commanditems.lib.com.fasterxml.jackson.databind.deser.BeanDeserializer.vanillaDeserialize(BeanDeserializer.java:287) ~[CommandItems-2.4.0-all.jar:?]
14.04 09:53:07 [Server] INFO at me.yamakaja.commanditems.lib.com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:151) ~[CommandItems-2.4.0-all.jar:?]
14.04 09:53:07 [Server] INFO at me.yamakaja.commanditems.lib.com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:4001) ~[CommandItems-2.4.0-all.jar:?]
14.04 09:53:07 [Server] INFO at me.yamakaja.commanditems.lib.com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:2890) ~[CommandItems-2.4.0-all.jar:?]
14.04 09:53:07 [Server] INFO at me.yamakaja.commanditems.parser.ConfigManager.parse(ConfigManager.java:37) ~[CommandItems-2.4.0-all.jar:?]
14.04 09:53:07 [Server] INFO ... 11 more
14.04 09:53:07 [Server] INFO Disabling CommandItems v2.4.0
Hello,
This is a great plugin that we would like to continue using.
Would it be possible to have a safe push on 1.18 ?
Hi, I'm having trouble with formatting this items actions as this doesn't seem to be valid.
MultiroleRight:
item:
type: FEATHER
name: "&a&lMultirole RIGHT"
lore: [ "&1Right click to get the bank right head" ]
glow: false
consumed: false
cooldown: 2
actions:
- { action: COMMAND, by: CONSOLE, command: "minecraft:replaceitem entity @A armor.head minecraft:carved_pumpkin{display:{Name:'{"text":"Multirole"}'}}" }
This however is valid so I'm thinking it's an issue with the brackets though I cant change them because of the command format necessary to be executed
actions:
- { action: COMMAND, by: CONSOLE, command: "minecraft:replaceitem entity @a armor.head minecraft:carved_pumpkin" }
Is there a way I can make a command that requires you to consume other items (from this plugin), to get a new item, like a way to combine all the items into one.
I tried it already with the readme.md but doesnt work...
the prevention of an item disappearing in the inv works great
but if an item is an arrow then a bow still uses the arrows...
So, I have a plugin that “actually” changes the username of the players to include special characters for other login systems so the usernames don’t overlap. But CommandItems is not allowing /cmdi give to “special” usernames, what should I do? Current workaround is to use Essentials kits, which seem to be fine with “special” usernames.
Hello, I see that :
Error occurred while enabling CommandItems v2.0.5 (Is it up to date?)
java.lang.NoSuchMethodError: org.bukkit.inventory.meta.ItemMeta.setUnbreakable(Z)V
at me.yamakaja.commanditems.parser.ItemStackDeserializer.deserialize(ItemStackDeserializer.java:86) ~[?:?]
at me.yamakaja.commanditems.parser.ItemStackDeserializer.deserialize(ItemStackDeserializer.java:22) ~[?:?]
at me.yamakaja.commanditems.lib.com.fasterxml.jackson.databind.deser.impl.FieldProperty.deserializeAndSet(FieldProperty.java:136) ~[?:?]
at me.yamakaja.commanditems.lib.com.fasterxml.jackson.databind.deser.BeanDeserializer.vanillaDeserialize(BeanDeserializer.java:287) ~[?:?]
at me.yamakaja.commanditems.lib.com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:151) ~[?:?]
at me.yamakaja.commanditems.lib.com.fasterxml.jackson.databind.deser.std.MapDeserializer._readAndBindStringKeyMap(MapDeserializer.java:527) ~[?:?]
at me.yamakaja.commanditems.lib.com.fasterxml.jackson.databind.deser.std.MapDeserializer.deserialize(MapDeserializer.java:364) ~[?:?]
at me.yamakaja.commanditems.lib.com.fasterxml.jackson.databind.deser.std.MapDeserializer.deserialize(MapDeserializer.java:29) ~[?:?]
at me.yamakaja.commanditems.lib.com.fasterxml.jackson.databind.deser.impl.FieldProperty.deserializeAndSet(FieldProperty.java:136) ~[?:?]
at me.yamakaja.commanditems.lib.com.fasterxml.jackson.databind.deser.BeanDeserializer.vanillaDeserialize(BeanDeserializer.java:287) ~[?:?]
at me.yamakaja.commanditems.lib.com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:151) ~[?:?]
at me.yamakaja.commanditems.lib.com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:4001) ~[?:?]
at me.yamakaja.commanditems.lib.com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:2890) ~[?:?]
at me.yamakaja.commanditems.parser.ConfigManager.parse(ConfigManager.java:36) ~[?:?]
at me.yamakaja.commanditems.CommandItems.onEnable(CommandItems.java:32) ~[?:?]
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:321) ~[spigot.jar:git-Spigot-21fe707-741a1bd]
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:340) [spigot.jar:git-Spigot-21fe707-741a1bd]
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:405) [spigot.jar:git-Spigot-21fe707-741a1bd]
at org.bukkit.craftbukkit.v1_8_R3.CraftServer.loadPlugin(CraftServer.java:357) [spigot.jar:git-Spigot-21fe707-741a1bd]
at org.bukkit.craftbukkit.v1_8_R3.CraftServer.enablePlugins(CraftServer.java:317) [spigot.jar:git-Spigot-21fe707-741a1bd]
at net.minecraft.server.v1_8_R3.MinecraftServer.s(MinecraftServer.java:414) [spigot.jar:git-Spigot-21fe707-741a1bd]
at net.minecraft.server.v1_8_R3.MinecraftServer.k(MinecraftServer.java:378) [spigot.jar:git-Spigot-21fe707-741a1bd]
at net.minecraft.server.v1_8_R3.MinecraftServer.a(MinecraftServer.java:333) [spigot.jar:git-Spigot-21fe707-741a1bd]
at net.minecraft.server.v1_8_R3.DedicatedServer.init(DedicatedServer.java:263) [spigot.jar:git-Spigot-21fe707-741a1bd]
at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:525) [spigot.jar:git-Spigot-21fe707-741a1bd]
file name: CommandItems-2.0.5-all.jar
you should make rainbow armor!
leather armor that smoothly rotates through the RGB hexacode and that can be coded into the armor, so players can take it off and receive them through say, a loot crate.
Allowing all items with the permission cmdi.item.* does not work. I am using TownyPerms as a perm manger, but I don't think that is the issue.
Would it be possible to read a value from a scoreboard the same way {player} currently works, or store a value in a config file. So you can have item uses count a value up the more you use it which can be used in a command
items that grant permissions, should have an easy function to prevent repeat use.
I want to translate this message to my own language and with color codes.
Cooldown Message: &cYou can only use this item every 5s!
i have the 2.0.5 version and i have this error in the console
[15:40:54 INFO]: [CommandItems] Enabling CommandItems v2.0.5
[15:40:54 ERROR]: Error occurred while enabling CommandItems v2.0.5 (Is it up to date?)
java.lang.NoSuchMethodError: 'void org.bukkit.inventory.meta.ItemMeta.setUnbreakable(boolean)'
at me.yamakaja.commanditems.parser.ItemStackDeserializer.deserialize(ItemStackDeserializer.java:86) ~[?:?]
at me.yamakaja.commanditems.parser.ItemStackDeserializer.deserialize(ItemStackDeserializer.java:22) ~[?:?]
at me.yamakaja.commanditems.lib.com.fasterxml.jackson.databind.deser.impl.FieldProperty.deserializeAndSet(FieldProperty.java:136) ~[?:?]
at me.yamakaja.commanditems.lib.com.fasterxml.jackson.databind.deser.BeanDeserializer.vanillaDeserialize(BeanDeserializer.java:287) ~[?:?]
at me.yamakaja.commanditems.lib.com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:151) ~[?:?]
at me.yamakaja.commanditems.lib.com.fasterxml.jackson.databind.deser.std.MapDeserializer._readAndBindStringKeyMap(MapDeserializer.java:527) ~[?:?]
at me.yamakaja.commanditems.lib.com.fasterxml.jackson.databind.deser.std.MapDeserializer.deserialize(MapDeserializer.java:364) ~[?:?]
at me.yamakaja.commanditems.lib.com.fasterxml.jackson.databind.deser.std.MapDeserializer.deserialize(MapDeserializer.java:29) ~[?:?]
at me.yamakaja.commanditems.lib.com.fasterxml.jackson.databind.deser.impl.FieldProperty.deserializeAndSet(FieldProperty.java:136) ~[?:?]
at me.yamakaja.commanditems.lib.com.fasterxml.jackson.databind.deser.BeanDeserializer.vanillaDeserialize(BeanDeserializer.java:287) ~[?:?]
at me.yamakaja.commanditems.lib.com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:151) ~[?:?]
at me.yamakaja.commanditems.lib.com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:4001) ~[?:?]
at me.yamakaja.commanditems.lib.com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:2890) ~[?:?]
at me.yamakaja.commanditems.parser.ConfigManager.parse(ConfigManager.java:36) ~[?:?]
at me.yamakaja.commanditems.CommandItems.onEnable(CommandItems.java:32) ~[?:?]
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:321) ~[spigot-1.8.8.jar:git-Spigot-db6de12-18fbb24]
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:340) [spigot-1.8.8.jar:git-Spigot-db6de12-18fbb24]
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:405) [spigot-1.8.8.jar:git-Spigot-db6de12-18fbb24]
at org.bukkit.craftbukkit.v1_8_R3.CraftServer.loadPlugin(CraftServer.java:357) [spigot-1.8.8.jar:git-Spigot-db6de12-18fbb24]
at org.bukkit.craftbukkit.v1_8_R3.CraftServer.enablePlugins(CraftServer.java:317) [spigot-1.8.8.jar:git-Spigot-db6de12-18fbb24]
at net.minecraft.server.v1_8_R3.MinecraftServer.s(MinecraftServer.java:414) [spigot-1.8.8.jar:git-Spigot-db6de12-18fbb24]
at net.minecraft.server.v1_8_R3.MinecraftServer.k(MinecraftServer.java:378) [spigot-1.8.8.jar:git-Spigot-db6de12-18fbb24]
at net.minecraft.server.v1_8_R3.MinecraftServer.a(MinecraftServer.java:333) [spigot-1.8.8.jar:git-Spigot-db6de12-18fbb24]
at net.minecraft.server.v1_8_R3.DedicatedServer.init(DedicatedServer.java:263) [spigot-1.8.8.jar:git-Spigot-db6de12-18fbb24]
at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:525) [spigot-1.8.8.jar:git-Spigot-db6de12-18fbb24]
at java.base/java.lang.Thread.run(Thread.java:833) [?:?]
[Server] INFO [CommandItems] Enabling CommandItems v2.1.1
[Server] WARN [CommandItems] Could not save config.yml to plugins/CommandItems/config.yml because config.yml already exists.
[Server] ERROR Error occurred while enabling CommandItems v2.1.1 (Is it up to date?)
[Server] INFO java.lang.NullPointerException: null
[Server] INFO at org.spigotmc.CustomTimingsHandler.<init>(CustomTimingsHandler.java:79) ~[patched_1.14.4.jar:git-Paper-174]
[Server] INFO at me.yamakaja.commanditems.lib.co.aikar.timings.lib.SpigotTiming.<init>(SpigotTiming.java:11) ~[?:?]
[Server] INFO at me.yamakaja.commanditems.lib.co.aikar.timings.lib.TimingType$1.newTiming(TimingType.java:11) ~[?:?]
[Server] INFO at me.yamakaja.commanditems.lib.co.aikar.timings.lib.TimingManager.of(TimingManager.java:72) ~[?:?]
[Server] INFO at me.yamakaja.commanditems.lib.co.aikar.timings.lib.TimingManager.of(TimingManager.java:38) ~[?:?]
[Server] INFO at me.yamakaja.commanditems.lib.co.aikar.commands.BukkitCommandManager.<init>(BukkitCommandManager.java:96) ~[?:?]
[Server] INFO at me.yamakaja.commanditems.lib.co.aikar.commands.PaperCommandManager.<init>(PaperCommandManager.java:33) ~[?:?]
[Server] INFO at me.yamakaja.commanditems.CommandItems.onEnable(CommandItems.java:34) ~[?:?]
[Server] INFO at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:263) ~[patched_1.14.4.jar:git-Paper-174]
[Server] INFO at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:338) ~[patched_1.14.4.jar:git-Paper-174]
[Server] INFO at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:420) ~[patched_1.14.4.jar:git-Paper-174]
[Server] INFO at org.bukkit.craftbukkit.v1_14_R1.CraftServer.enablePlugin(CraftServer.java:467) ~[patched_1.14.4.jar:git-Paper-174]
[Server] INFO at org.bukkit.craftbukkit.v1_14_R1.CraftServer.enablePlugins(CraftServer.java:381) ~[patched_1.14.4.jar:git-Paper-174]
[Server] INFO at net.minecraft.server.v1_14_R1.MinecraftServer.a(MinecraftServer.java:474) ~[patched_1.14.4.jar:git-Paper-174]
[Server] INFO at net.minecraft.server.v1_14_R1.DedicatedServer.init(DedicatedServer.java:290) ~[patched_1.14.4.jar:git-Paper-174]
[Server] INFO at net.minecraft.server.v1_14_R1.MinecraftServer.run(MinecraftServer.java:870) ~[patched_1.14.4.jar:git-Paper-174]
[Server] INFO at java.lang.Thread.run(Thread.java:834) [?:?]
[Server] INFO [CommandItems] Disabling CommandItems v2.1.1
Using a { or } inside a command, e.g. entitydata @e[type=minecraft:creeper,distance=..1] {NoAI:1}
does not successfully execute.
The error logged is Caused by: java.lang.RuntimeException: Attempt to access undefined local 'NoAI:1"'!
.
It seems that curly brackets inside quotation marks do not get escaped correctly, even if using a .
Support for hex colors?
I wish to request a feature that I believe many users could find useful: the addition of a RAND
function as possible operator that can be used within the op
parameter when using CALC
.
The a
and b
parameters would function as a minimum and maximum threshold, and the value could then of course be stored in the target
parameter for further processing.
Example Usage:
# Select a random value between 100 and 500
{ action: CALC, a: "100", b: "500", op: RAND, target: "n", actions: [
# Further processing or actions using this value
{ action: COMMAND, by: CONSOLE, command: "eco give {player} {n}" }
]}
I'm on the latest version of spigot 1.8.8.
Version 2.0.4 of the plugin and I have an issue where the plugin will not load even with the default config!
[21:53:54 ERROR]: Error occurred while enabling CommandItems v2.0.4 (Is it up to date?)
java.lang.RuntimeException: Failed to read config!
at me.yamakaja.commanditems.parser.ConfigManager.parse(ConfigManager.java:38) ~[?:?]
at me.yamakaja.commanditems.CommandItems.onEnable(CommandItems.java:33) ~[?:?]
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:321) ~[spigot.jar:git-Spigot-21fe707-e1ebe52]
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:340) [spigot.jar:git-Spigot-21fe707-e1ebe52]
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:405) [spigot.jar:git-Spigot-21fe707-e1ebe52]
at org.bukkit.craftbukkit.v1_8_R3.CraftServer.loadPlugin(CraftServer.java:357) [spigot.jar:git-Spigot-21fe707-e1ebe52]
at org.bukkit.craftbukkit.v1_8_R3.CraftServer.enablePlugins(CraftServer.java:317) [spigot.jar:git-Spigot-21fe707-e1ebe52]
at net.minecraft.server.v1_8_R3.MinecraftServer.s(MinecraftServer.java:414) [spigot.jar:git-Spigot-21fe707-e1ebe52]
at net.minecraft.server.v1_8_R3.MinecraftServer.k(MinecraftServer.java:378) [spigot.jar:git-Spigot-21fe707-e1ebe52]
at net.minecraft.server.v1_8_R3.MinecraftServer.a(MinecraftServer.java:333) [spigot.jar:git-Spigot-21fe707-e1ebe52]
at net.minecraft.server.v1_8_R3.DedicatedServer.init(DedicatedServer.java:263) [spigot.jar:git-Spigot-21fe707-e1ebe52]
at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:525) [spigot.jar:git-Spigot-21fe707-e1ebe52]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_221]
Caused by: me.yamakaja.commanditems.lib.com.fasterxml.jackson.databind.JsonMappingException: Enchantment level is either too low or too high (given 1, bounds are 0 to 0) (through reference chain: me.yamakaja.commanditems.data.CommandItemsConfig["items"]->java.util.LinkedHashMap["helpstick"]->me.yamakaja.commanditems.data.ItemDefinition["item"])
at me.yamakaja.commanditems.lib.com.fasterxml.jackson.databind.JsonMappingException.wrapWithPath(JsonMappingException.java:391) ~[?:?]
at me.yamakaja.commanditems.lib.com.fasterxml.jackson.databind.JsonMappingException.wrapWithPath(JsonMappingException.java:351) ~[?:?]
at me.yamakaja.commanditems.lib.com.fasterxml.jackson.databind.deser.BeanDeserializerBase.wrapAndThrow(BeanDeserializerBase.java:1689) ~[?:?]
at me.yamakaja.commanditems.lib.com.fasterxml.jackson.databind.deser.BeanDeserializer.vanillaDeserialize(BeanDeserializer.java:289) ~[?:?]
at me.yamakaja.commanditems.lib.com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:151) ~[?:?]
at me.yamakaja.commanditems.lib.com.fasterxml.jackson.databind.deser.std.MapDeserializer._readAndBindStringKeyMap(MapDeserializer.java:527) ~[?:?]
at me.yamakaja.commanditems.lib.com.fasterxml.jackson.databind.deser.std.MapDeserializer.deserialize(MapDeserializer.java:364) ~[?:?]
at me.yamakaja.commanditems.lib.com.fasterxml.jackson.databind.deser.std.MapDeserializer.deserialize(MapDeserializer.java:29) ~[?:?]
at me.yamakaja.commanditems.lib.com.fasterxml.jackson.databind.deser.impl.FieldProperty.deserializeAndSet(FieldProperty.java:136) ~[?:?]
at me.yamakaja.commanditems.lib.com.fasterxml.jackson.databind.deser.BeanDeserializer.vanillaDeserialize(BeanDeserializer.java:287) ~[?:?]
at me.yamakaja.commanditems.lib.com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:151) ~[?:?]
at me.yamakaja.commanditems.lib.com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:4001) ~[?:?]
at me.yamakaja.commanditems.lib.com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:2890) ~[?:?]
at me.yamakaja.commanditems.parser.ConfigManager.parse(ConfigManager.java:36) ~[?:?]
... 12 more
Caused by: java.lang.IllegalArgumentException: Enchantment level is either too low or too high (given 1, bounds are 0 to 0)
at org.bukkit.inventory.ItemStack.addEnchantment(ItemStack.java:438) ~[spigot.jar:git-Spigot-21fe707-e1ebe52]
at me.yamakaja.commanditems.parser.ItemStackDeserializer.deserialize(ItemStackDeserializer.java:82) ~[?:?]
at me.yamakaja.commanditems.parser.ItemStackDeserializer.deserialize(ItemStackDeserializer.java:22) ~[?:?]
at me.yamakaja.commanditems.lib.com.fasterxml.jackson.databind.deser.impl.FieldProperty.deserializeAndSet(FieldProperty.java:136) ~[?:?]
at me.yamakaja.commanditems.lib.com.fasterxml.jackson.databind.deser.BeanDeserializer.vanillaDeserialize(BeanDeserializer.java:287) ~[?:?]
at me.yamakaja.commanditems.lib.com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:151) ~[?:?]
at me.yamakaja.commanditems.lib.com.fasterxml.jackson.databind.deser.std.MapDeserializer._readAndBindStringKeyMap(MapDeserializer.java:527) ~[?:?]
at me.yamakaja.commanditems.lib.com.fasterxml.jackson.databind.deser.std.MapDeserializer.deserialize(MapDeserializer.java:364) ~[?:?]
at me.yamakaja.commanditems.lib.com.fasterxml.jackson.databind.deser.std.MapDeserializer.deserialize(MapDeserializer.java:29) ~[?:?]
at me.yamakaja.commanditems.lib.com.fasterxml.jackson.databind.deser.impl.FieldProperty.deserializeAndSet(FieldProperty.java:136) ~[?:?]
at me.yamakaja.commanditems.lib.com.fasterxml.jackson.databind.deser.BeanDeserializer.vanillaDeserialize(BeanDeserializer.java:287) ~[?:?]
at me.yamakaja.commanditems.lib.com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:151) ~[?:?]
at me.yamakaja.commanditems.lib.com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:4001) ~[?:?]
at me.yamakaja.commanditems.lib.com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:2890) ~[?:?]
at me.yamakaja.commanditems.parser.ConfigManager.parse(ConfigManager.java:36) ~[?:?]
... 12 more
Just wanted to know, as it would greatly help. If there were any way to make it work without an update that would be good too.
I had 2 questions, is there a discord for support, and is there any way for the cmdi to check and deny or accept based off the result of the check, for example. /eco take from a certain player, and if said player has the money it takes it and give them an item, if not it gives them a fail message
https://paste.gg/p/anonymous/c6e3ecd5a76141b1955417636927e2e1
I have tried entering a value of 1 on the cooldown but that wasn't the issue, I believe it has something to do with there being no actions, anyhow in the previous version (2.3.0) these items had no issues. Having my configuration on 2.4.0 makes this plugin unusable.
https://paste.gg/p/anonymous/35feb2a2540545b5a5428263324b3364
Note: Reposting this from: https://www.spigotmc.org/threads/command-items.249503/page-11#post-4313440
Appears when using Paper.
[11:58:25 WARN]: org.bukkit.plugin.AuthorNagException: Deprecated use of CustomTimingsHandler. Please Switch to Timings.of ASAP
[11:58:25 WARN]: at org.spigotmc.CustomTimingsHandler.<init>(CustomTimingsHandler.java:58)
[11:58:25 WARN]: at me.yamakaja.commanditems.lib.co.aikar.timings.lib.SpigotTiming.<init>(SpigotTiming.java:11)
[11:58:25 WARN]: at me.yamakaja.commanditems.lib.co.aikar.timings.lib.TimingType$1.newTiming(TimingType.java:11)
[11:58:25 WARN]: at me.yamakaja.commanditems.lib.co.aikar.timings.lib.TimingManager.of(TimingManager.java:72)
[11:58:25 WARN]: at me.yamakaja.commanditems.lib.co.aikar.timings.lib.TimingManager.of(TimingManager.java:38)
[11:58:25 WARN]: at me.yamakaja.commanditems.lib.co.aikar.commands.BukkitCommandManager.<init>(BukkitCommandManager.java:87)
[11:58:25 WARN]: at me.yamakaja.commanditems.lib.co.aikar.commands.PaperCommandManager.<init>(PaperCommandManager.java:33)
[11:58:25 WARN]: at me.yamakaja.commanditems.CommandItems.onEnable(CommandItems.java:35)
[11:58:25 WARN]: at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:264)
[11:58:25 WARN]: at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:316)
[11:58:25 WARN]: at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:405)
[11:58:25 WARN]: at org.bukkit.craftbukkit.v1_12_R1.CraftServer.enablePlugin(CraftServer.java:395)
[11:58:25 WARN]: at org.bukkit.craftbukkit.v1_12_R1.CraftServer.enablePlugins(CraftServer.java:344)
[11:58:25 WARN]: at net.minecraft.server.v1_12_R1.MinecraftServer.t(MinecraftServer.java:442)
[11:58:25 WARN]: at net.minecraft.server.v1_12_R1.MinecraftServer.l(MinecraftServer.java:403)
[11:58:25 WARN]: at net.minecraft.server.v1_12_R1.MinecraftServer.a(MinecraftServer.java:341)
[11:58:25 WARN]: at net.minecraft.server.v1_12_R1.DedicatedServer.init(DedicatedServer.java:293)
[11:58:25 WARN]: at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:616)
[11:58:25 WARN]: at java.lang.Thread.run(Thread.java:748)
[11:58:25 WARN]: org.bukkit.plugin.AuthorNagException: Deprecated use of CustomTimingsHandler. Please Switch to Timings.of ASAP
[11:58:25 WARN]: at org.spigotmc.CustomTimingsHandler.<init>(CustomTimingsHandler.java:58)
[11:58:25 WARN]: at me.yamakaja.commanditems.lib.co.aikar.timings.lib.SpigotTiming.<init>(SpigotTiming.java:11)
[11:58:25 WARN]: at me.yamakaja.commanditems.lib.co.aikar.timings.lib.TimingType$1.newTiming(TimingType.java:11)
[11:58:25 WARN]: at me.yamakaja.commanditems.lib.co.aikar.timings.lib.TimingManager.of(TimingManager.java:72)
[11:58:25 WARN]: at me.yamakaja.commanditems.lib.co.aikar.commands.BukkitRegisteredCommand.<init>(BukkitRegisteredCommand.java:35)
[11:58:25 WARN]: at me.yamakaja.commanditems.lib.co.aikar.commands.BukkitCommandManager.createRegisteredCommand(BukkitCommandManager.java:330)
[11:58:25 WARN]: at me.yamakaja.commanditems.lib.co.aikar.commands.BaseCommand.registerSubcommand(BaseCommand.java:308)
[11:58:25 WARN]: at me.yamakaja.commanditems.lib.co.aikar.commands.BaseCommand.registerSubcommands(BaseCommand.java:217)
[11:58:25 WARN]: at me.yamakaja.commanditems.lib.co.aikar.commands.BaseCommand.onRegister(BaseCommand.java:145)
[11:58:25 WARN]: at me.yamakaja.commanditems.lib.co.aikar.commands.BaseCommand.onRegister(BaseCommand.java:124)
[11:58:25 WARN]: at me.yamakaja.commanditems.lib.co.aikar.commands.BukkitCommandManager.registerCommand(BukkitCommandManager.java:184)
[11:58:25 WARN]: at me.yamakaja.commanditems.lib.co.aikar.commands.BukkitCommandManager.registerCommand(BukkitCommandManager.java:217)
[11:58:25 WARN]: at me.yamakaja.commanditems.CommandItems.onEnable(CommandItems.java:50)
[11:58:25 WARN]: at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:264)
[11:58:25 WARN]: at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:316)
[11:58:25 WARN]: at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:405)
[11:58:25 WARN]: at org.bukkit.craftbukkit.v1_12_R1.CraftServer.enablePlugin(CraftServer.java:395)
[11:58:25 WARN]: at org.bukkit.craftbukkit.v1_12_R1.CraftServer.enablePlugins(CraftServer.java:344)
[11:58:25 WARN]: at net.minecraft.server.v1_12_R1.MinecraftServer.t(MinecraftServer.java:442)
[11:58:25 WARN]: at net.minecraft.server.v1_12_R1.MinecraftServer.l(MinecraftServer.java:403)
[11:58:25 WARN]: at net.minecraft.server.v1_12_R1.MinecraftServer.a(MinecraftServer.java:341)
[11:58:25 WARN]: at net.minecraft.server.v1_12_R1.DedicatedServer.init(DedicatedServer.java:293)
[11:58:25 WARN]: at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:616)
[11:58:25 WARN]: at java.lang.Thread.run(Thread.java:748)
[11:58:25 WARN]: org.bukkit.plugin.AuthorNagException: Deprecated use of CustomTimingsHandler. Please Switch to Timings.of ASAP
[11:58:25 WARN]: at org.spigotmc.CustomTimingsHandler.<init>(CustomTimingsHandler.java:58)
[11:58:25 WARN]: at me.yamakaja.commanditems.lib.co.aikar.timings.lib.SpigotTiming.<init>(SpigotTiming.java:11)
[11:58:25 WARN]: at me.yamakaja.commanditems.lib.co.aikar.timings.lib.TimingType$1.newTiming(TimingType.java:11)
[11:58:25 WARN]: at me.yamakaja.commanditems.lib.co.aikar.timings.lib.TimingManager.of(TimingManager.java:72)
[11:58:25 WARN]: at me.yamakaja.commanditems.lib.co.aikar.commands.BukkitRegisteredCommand.<init>(BukkitRegisteredCommand.java:35)
[11:58:25 WARN]: at me.yamakaja.commanditems.lib.co.aikar.commands.BukkitCommandManager.createRegisteredCommand(BukkitCommandManager.java:330)
[11:58:25 WARN]: at me.yamakaja.commanditems.lib.co.aikar.commands.BaseCommand.registerSubcommand(BaseCommand.java:308)
[11:58:25 WARN]: at me.yamakaja.commanditems.lib.co.aikar.commands.BaseCommand.registerSubcommands(BaseCommand.java:254)
[11:58:25 WARN]: at me.yamakaja.commanditems.lib.co.aikar.commands.BaseCommand.onRegister(BaseCommand.java:145)
[11:58:25 WARN]: at me.yamakaja.commanditems.lib.co.aikar.commands.BaseCommand.onRegister(BaseCommand.java:124)
[11:58:25 WARN]: at me.yamakaja.commanditems.lib.co.aikar.commands.BukkitCommandManager.registerCommand(BukkitCommandManager.java:184)
[11:58:25 WARN]: at me.yamakaja.commanditems.lib.co.aikar.commands.BukkitCommandManager.registerCommand(BukkitCommandManager.java:217)
[11:58:25 WARN]: at me.yamakaja.commanditems.CommandItems.onEnable(CommandItems.java:50)
[11:58:25 WARN]: at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:264)
[11:58:25 WARN]: at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:316)
[11:58:25 WARN]: at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:405)
[11:58:25 WARN]: at org.bukkit.craftbukkit.v1_12_R1.CraftServer.enablePlugin(CraftServer.java:395)
[11:58:25 WARN]: at org.bukkit.craftbukkit.v1_12_R1.CraftServer.enablePlugins(CraftServer.java:344)
[11:58:25 WARN]: at net.minecraft.server.v1_12_R1.MinecraftServer.t(MinecraftServer.java:442)
[11:58:25 WARN]: at net.minecraft.server.v1_12_R1.MinecraftServer.l(MinecraftServer.java:403)
[11:58:25 WARN]: at net.minecraft.server.v1_12_R1.MinecraftServer.a(MinecraftServer.java:341)
[11:58:25 WARN]: at net.minecraft.server.v1_12_R1.DedicatedServer.init(DedicatedServer.java:293)
[11:58:25 WARN]: at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:616)
[11:58:25 WARN]: at java.lang.Thread.run(Thread.java:748)
[11:58:25 WARN]: org.bukkit.plugin.AuthorNagException: Deprecated use of CustomTimingsHandler. Please Switch to Timings.of ASAP
[11:58:25 WARN]: at org.spigotmc.CustomTimingsHandler.<init>(CustomTimingsHandler.java:58)
[11:58:25 WARN]: at me.yamakaja.commanditems.lib.co.aikar.timings.lib.SpigotTiming.<init>(SpigotTiming.java:11)
[11:58:25 WARN]: at me.yamakaja.commanditems.lib.co.aikar.timings.lib.TimingType$1.newTiming(TimingType.java:11)
[11:58:25 WARN]: at me.yamakaja.commanditems.lib.co.aikar.timings.lib.TimingManager.of(TimingManager.java:72)
[11:58:25 WARN]: at me.yamakaja.commanditems.lib.co.aikar.commands.BukkitRegisteredCommand.<init>(BukkitRegisteredCommand.java:35)
[11:58:25 WARN]: at me.yamakaja.commanditems.lib.co.aikar.commands.BukkitCommandManager.createRegisteredCommand(BukkitCommandManager.java:330)
[11:58:25 WARN]: at me.yamakaja.commanditems.lib.co.aikar.commands.BaseCommand.registerSubcommand(BaseCommand.java:308)
[11:58:25 WARN]: at me.yamakaja.commanditems.lib.co.aikar.commands.BaseCommand.registerSubcommands(BaseCommand.java:254)
[11:58:25 WARN]: at me.yamakaja.commanditems.lib.co.aikar.commands.BaseCommand.onRegister(BaseCommand.java:145)
[11:58:25 WARN]: at me.yamakaja.commanditems.lib.co.aikar.commands.BaseCommand.onRegister(BaseCommand.java:124)
[11:58:25 WARN]: at me.yamakaja.commanditems.lib.co.aikar.commands.BukkitCommandManager.registerCommand(BukkitCommandManager.java:184)
[11:58:25 WARN]: at me.yamakaja.commanditems.lib.co.aikar.commands.BukkitCommandManager.registerCommand(BukkitCommandManager.java:217)
[11:58:25 WARN]: at me.yamakaja.commanditems.CommandItems.onEnable(CommandItems.java:50)
[11:58:25 WARN]: at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:264)
[11:58:25 WARN]: at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:316)
[11:58:25 WARN]: at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:405)
[11:58:25 WARN]: at org.bukkit.craftbukkit.v1_12_R1.CraftServer.enablePlugin(CraftServer.java:395)
[11:58:25 WARN]: at org.bukkit.craftbukkit.v1_12_R1.CraftServer.enablePlugins(CraftServer.java:344)
[11:58:25 WARN]: at net.minecraft.server.v1_12_R1.MinecraftServer.t(MinecraftServer.java:442)
[11:58:25 WARN]: at net.minecraft.server.v1_12_R1.MinecraftServer.l(MinecraftServer.java:403)
[11:58:25 WARN]: at net.minecraft.server.v1_12_R1.MinecraftServer.a(MinecraftServer.java:341)
[11:58:25 WARN]: at net.minecraft.server.v1_12_R1.DedicatedServer.init(DedicatedServer.java:293)
[11:58:25 WARN]: at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:616)
[11:58:25 WARN]: at java.lang.Thread.run(Thread.java:748)
I'm running a modded KCauldron (Forge + bukkit/spigot) server on Minecraft 1.7.10. Would it be possible to get help on getting the plugin to work on the server? Even just instructions on how to try to compile it for the given version of Spigot is better than nothing, but a complete working version would still be much more helpful.
Sorry for starting an issue for this, but I couldn't find any better way to contact. Besides, it is technically issue even if not in the supported versions. I did first try to contact through Spigot, but it looks like it might be easier to reach you here.
I have tried CommandItems versions 1.0, 1.2.4, 2.0.0, 2.0.5 and 2.2.1. The 1.x versions were the closest to working (At least weren't disabled on startup) but still couldn't set the commands.
Here is the error from trying to launch the server with CommandItems 2.0.5
[16:48:59] [Server thread/ERROR] [Minecraft/]: Could not load 'plugins/CommandItems-2.0.5-all.jar' in folder 'plugins' org.bukkit.plugin.InvalidPluginException: java.lang.NoClassDefFoundError: me/yamakaja/commanditems/lib/co/aikar/commands/BukkitCommandManager at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:149) ~[JavaPluginLoader.class:1.7.10-R0.1-SNAPSHOT] at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:334) ~[SimplePluginManager.class:1.7.10-R0.1-SNAPSHOT] at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:256) [SimplePluginManager.class:1.7.10-R0.1-SNAPSHOT] at org.bukkit.craftbukkit.v1_7_R4.CraftServer.loadPlugins(CraftServer.java:320) [CraftServer.class:1.7.10-R0.1-SNAPSHOT] at net.minecraft.world.storage.SaveHandler.initBukkitData(SaveHandler.java:461) [ayq.class:?] at net.minecraft.world.storage.SaveHandler.func_75757_d(SaveHandler.java:137) [ayq.class:?] at net.minecraft.world.World.<init>(World.java:360) [ahb.class:?] at net.minecraft.world.WorldServer.<init>(WorldServer.java:160) [mt.class:?] at net.minecraft.server.MinecraftServer.func_71247_a(MinecraftServer.java:367) [MinecraftServer.class:?] at net.minecraft.server.dedicated.DedicatedServer.func_71197_b(DedicatedServer.java:336) [lt.class:?] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:631) [MinecraftServer.class:?] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_201] Caused by: java.lang.NoClassDefFoundError: me/yamakaja/commanditems/lib/co/aikar/commands/BukkitCommandManager at java.lang.Class.forName0(Native Method) ~[?:1.8.0_201] at java.lang.Class.forName(Class.java:348) ~[?:1.8.0_201] at org.bukkit.plugin.java.PluginClassLoader.<init>(PluginClassLoader.java:189) ~[PluginClassLoader.class:1.7.10-R0.1-SNAPSHOT] at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:145) ~[JavaPluginLoader.class:1.7.10-R0.1-SNAPSHOT] ... 11 more Caused by: java.lang.ClassNotFoundException: Failed to remap class me.yamakaja.commanditems.lib.co.aikar.commands.BukkitCommandManager at org.bukkit.plugin.java.PluginClassLoader.remappedFindClass(PluginClassLoader.java:488) ~[PluginClassLoader.class:1.7.10-R0.1-SNAPSHOT] at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:409) ~[PluginClassLoader.class:1.7.10-R0.1-SNAPSHOT] at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:211) ~[PluginClassLoader.class:1.7.10-R0.1-SNAPSHOT] at java.lang.ClassLoader.loadClass(ClassLoader.java:424) ~[?:1.8.0_201] at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[?:1.8.0_201] at java.lang.Class.forName0(Native Method) ~[?:1.8.0_201] at java.lang.Class.forName(Class.java:348) ~[?:1.8.0_201] at org.bukkit.plugin.java.PluginClassLoader.<init>(PluginClassLoader.java:189) ~[PluginClassLoader.class:1.7.10-R0.1-SNAPSHOT] at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:145) ~[JavaPluginLoader.class:1.7.10-R0.1-SNAPSHOT] ... 11 more Caused by: java.lang.RuntimeException at org.objectweb.asm.MethodVisitor.visitParameter(Unknown Source) ~[asm-all-5.0.3.jar:5.0.3] at org.objectweb.asm.ClassReader.b(Unknown Source) ~[asm-all-5.0.3.jar:5.0.3] at org.objectweb.asm.ClassReader.accept(Unknown Source) ~[asm-all-5.0.3.jar:5.0.3] at org.objectweb.asm.ClassReader.accept(Unknown Source) ~[asm-all-5.0.3.jar:5.0.3] at net.md_5.specialsource.JarRemapper.remapClassFile(JarRemapper.java:246) ~[JarRemapper.class:?] at net.md_5.specialsource.JarRemapper.remapClassFile(JarRemapper.java:232) ~[JarRemapper.class:?] at org.bukkit.plugin.java.PluginClassLoader.remappedFindClass(PluginClassLoader.java:453) ~[PluginClassLoader.class:1.7.10-R0.1-SNAPSHOT] at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:409) ~[PluginClassLoader.class:1.7.10-R0.1-SNAPSHOT] at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:211) ~[PluginClassLoader.class:1.7.10-R0.1-SNAPSHOT] at java.lang.ClassLoader.loadClass(ClassLoader.java:424) ~[?:1.8.0_201] at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[?:1.8.0_201] at java.lang.Class.forName0(Native Method) ~[?:1.8.0_201] at java.lang.Class.forName(Class.java:348) ~[?:1.8.0_201] at org.bukkit.plugin.java.PluginClassLoader.<init>(PluginClassLoader.java:189) ~[PluginClassLoader.class:1.7.10-R0.1-SNAPSHOT] at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:145) ~[JavaPluginLoader.class:1.7.10-R0.1-SNAPSHOT] ... 11 more
Thank you for your time,
How do we reference a custom player_head from https://minecraft-heads.com/?
I've tried UUID (doesn't work), texture details, and more without success. Is there a way to apply the custom texture from that site instead?
Can u add the possibility to choose the custom-model-data of the items?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.