Giter Club home page Giter Club logo

commanditems's Introduction

Hey there ๐Ÿ‘‹ I'm Eufranio Lima

I am a professional Mobile Developer, graduated at Federal University of Sergipe, Brazil, since 2018-2023.
I enjoy developing web and mobile applications, mainly using Flutter, and Minecraft plugins/mods using Java.

If you want to know more about me and my work, please visit my developer page! โœจ

Eufranio's github stats

commanditems's People

Contributors

eufranio avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

asherslab

commanditems's Issues

Add support to ByteItems

Instead of only building our own item, we could also add support to ByteItems so users of the plugin can use any custom item they want as CommandItems.

error when giving items

whenever we try to give ourselves the command items we get the error java.lang.NullPointerException: null and we're not entirely sure why

[Enhancement] Add admin option to list command items

At the moment there's no argument for the command to let an administrator list the created command items, so they can have a list to use later on. Having this feature included could really help the admins down the road when they forgot the complete list of command items and what they may do.

Persistent error received

Hi there,

I am using your CommandItems plugin (fantastic plugin btw) and every now and then I come across an issue whereby when I try and spawn a commanditem, the console reports a null exception. The only way I've found resolves this is to reinstall the plugin, but this does not permanently resolve but only resolves for a period of time. I wonder if you had any suggestions.

I have copied the code with the error as seen below:

23.03 15:35:55 [Server] Server thread/ERROR [Sponge]: Error occurred while executing command 'citems give sewerwish 1 danceintherain' for source EntityPlayerMP['DanceInTheRain'/267, l='WumboCraft', x=-3140.72, y=87.00, z=1323.71]: null
23.03 15:35:55 [Server] INFO java.lang.NullPointerException: null
23.03 15:35:55 [Server] INFO at io.github.eufranio.commanditems.CommandItems.lambda$onServerStart$1(CommandItems.java:98) ~[CommandItems.class:?]
23.03 15:35:55 [Server] INFO at org.spongepowered.api.command.args.ChildCommandElementExecutor.execute(ChildCommandElementExecutor.java:255) ~[ChildCommandElementExecutor.class:1.12.2-2838-7.1.9]
23.03 15:35:55 [Server] INFO at org.spongepowered.api.command.spec.CommandSpec.process(CommandSpec.java:388) ~[CommandSpec.class:1.12.2-2838-7.1.9]
23.03 15:35:55 [Server] INFO at org.spongepowered.common.command.SpongeCommandDispatcher.process(SpongeCommandDispatcher.java:355) ~[SpongeCommandDispatcher.class:1.12.2-2838-7.1.9]
23.03 15:35:55 [Server] INFO at org.spongepowered.common.command.SpongeCommandManager.process(SpongeCommandManager.java:338) [SpongeCommandManager.class:1.12.2-2838-7.1.9]
23.03 15:35:55 [Server] INFO at net.minecraft.command.ServerCommandManager.func_71556_a(SourceFile:665) [dh.class:?]
23.03 15:35:55 [Server] INFO at net.minecraft.network.NetHandlerPlayServer.func_147361_d(NetHandlerPlayServer.java:962) [pa.class:?]
23.03 15:35:55 [Server] INFO at net.minecraft.network.NetHandlerPlayServer.func_147354_a(NetHandlerPlayServer.java:941) [pa.class:?]
23.03 15:35:55 [Server] INFO at net.minecraft.network.play.client.CPacketChatMessage.func_148833_a(SourceFile:37) [la.class:?]
23.03 15:35:55 [Server] INFO at net.minecraft.network.play.client.CPacketChatMessage.func_148833_a(SourceFile:9) [la.class:?]
23.03 15:35:55 [Server] INFO at org.spongepowered.common.event.tracking.phase.packet.PacketPhaseUtil.onProcessPacket(PacketPhaseUtil.java:219) [PacketPhaseUtil.class:1.12.2-2838-7.1.9]
23.03 15:35:55 [Server] INFO at net.minecraft.network.PacketThreadUtil$1.redirect$zla000$impl$redirectToPhaseTracker(SourceFile:540) [hv$1.class:?]
23.03 15:35:55 [Server] INFO at net.minecraft.network.PacketThreadUtil$1.run(SourceFile:13) [hv$1.class:?]
23.03 15:35:55 [Server] INFO at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_211]
23.03 15:35:55 [Server] INFO at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_211]
23.03 15:35:55 [Server] INFO at net.minecraft.util.Util.func_181617_a(SourceFile:46) [h.class:?]
23.03 15:35:55 [Server] INFO at org.spongepowered.common.SpongeImplHooks.onUtilRunTask(SpongeImplHooks.java:308) [SpongeImplHooks.class:1.12.2-2838-7.1.9]
23.03 15:35:55 [Server] INFO at net.minecraft.server.MinecraftServer.redirect$zje000$onRun(MinecraftServer.java:4713) [MinecraftServer.class:?]
23.03 15:35:55 [Server] INFO at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:723) [MinecraftServer.class:?]
23.03 15:35:55 [Server] INFO at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:397) [nz.class:?]
23.03 15:35:55 [Server] INFO at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:668) [MinecraftServer.class:?]
23.03 15:35:55 [Server] INFO at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:526) [MinecraftServer.class:?]
23.03 15:35:55 [Server] INFO at java.lang.Thread.run(Thread.java:748) [?:1.8.0_211]

Restart strips items of commands.

I created 2 citems and put them into kits. Both items work when kits are used, until a restart.

Once restarted, the items are still named and have colorful descriptions, but the commands do not work.

I am using citems v2.2 and easykits v7.2.0-0.2.1

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.