Git Product home page Git Product logo

Comments (8)

draxum avatar draxum commented on June 5, 2024

I updated Citizens 2 v2.0.7 and installed the new DtlTrader to set up bankers. When I use the /banker to get the commands I get the following error on the server.

08:52:56 [SEVERE] null
org.bukkit.command.CommandException: Unhandled exception executing command 'banker' in plugin DtlCitizensTrader v2.4.0
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46)
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:186)
at org.bukkit.craftbukkit.v1_4_R1.CraftServer.dispatchCommand(CraftServer.java:514)
at net.minecraft.server.v1_4_R1.PlayerConnection.handleCommand(PlayerConnection.java:979)
at net.minecraft.server.v1_4_R1.PlayerConnection.chat(PlayerConnection.java:897)
at net.minecraft.server.v1_4_R1.PlayerConnection.a(PlayerConnection.java:852)
at net.minecraft.server.v1_4_R1.Packet3Chat.handle(Packet3Chat.java:44)
at net.minecraft.server.v1_4_R1.NetworkManager.b(NetworkManager.java:290)
at net.minecraft.server.v1_4_R1.PlayerConnection.d(PlayerConnection.java:112)
at net.minecraft.server.v1_4_R1.ServerConnection.b(SourceFile:39)
at net.minecraft.server.v1_4_R1.DedicatedServerConnection.b(SourceFile:30)
at net.minecraft.server.v1_4_R1.MinecraftServer.r(MinecraftServer.java:598)
at net.minecraft.server.v1_4_R1.DedicatedServer.r(DedicatedServer.java:224)
at net.minecraft.server.v1_4_R1.MinecraftServer.q(MinecraftServer.java:494)
at net.minecraft.server.v1_4_R1.MinecraftServer.run(MinecraftServer.java:427)
at net.minecraft.server.v1_4_R1.ThreadServerApplication.run(SourceFile:849)
Caused by: java.lang.ArrayIndexOutOfBoundsException: 0 at net.dtl.citizens.trader.BankerCommandExecutor.onCommand(BankerCommand
Executor.java:47) at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44)
... 15 more

from dtlcitizenstrader.

Dandielo avatar Dandielo commented on June 5, 2024

going to fix as fast as I can

from dtlcitizenstrader.

Dandielo avatar Dandielo commented on June 5, 2024

ok banker commands ane most messages are fixed with the latest build :)
atm there are only 3 commands to use, all other will come in time

/banker create Banker name t:type e:entity
/banker reload
/banker

from dtlcitizenstrader.

draxum avatar draxum commented on June 5, 2024

Thanks for the update, I downloaded the mod and was able to successfully create a Banker. When you click on him he does open up a area like a double chest but I can not place anything in it. I can not move items in my inventory area also. I have downloaded the latest version of Citizens 2 but do I need the API to use the Banker Plugin? I am set up as owner of the server in permission as I have given myself dtl.banker.*. I also deleted the old Dtltrader folder and restarted the server to allow it to create a new folder. Is there anything that I am forgetting that may be causing this?

from dtlcitizenstrader.

Dandielo avatar Dandielo commented on June 5, 2024

Nah that shouldn't happen hmm... I'm going to check some permission setups

from dtlcitizenstrader.

Dandielo avatar Dandielo commented on June 5, 2024

Sorry i looks like there was a small bug with that version and the banker command created a trader dunno why, anyway try the latest build. If you will see 1 small wool on the left bottom corner then it's a banker :)

from dtlcitizenstrader.

draxum avatar draxum commented on June 5, 2024

Worked beautifully!

from dtlcitizenstrader.

Dandielo avatar Dandielo commented on June 5, 2024

So i can close this issue :) Thanks for feedback :) Any ideas are welcome :D

from dtlcitizenstrader.

Related Issues (20)

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.