Coder Social home page Coder Social logo

smartcart's People

Contributors

deadhunter avatar floored1585 avatar seanboyy avatar uncovery avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

smartcart's Issues

A few ideas

Hey there! It's nice to finally have the plugin updates being on the server, they're wonderful. I didn't want to spam you with multiple issue emails, but had some ideas and just put em here. Thanks again for making this awesome!

• Eject signs, used near yellow wool within a certain range, finds the nearest sign and ejects. Syntax could be like: SC: $EJT

• Redstone powered signs, if a sign is powered, then the commands are ignored.

• ! Not operator before a command, so like !DEF:N, so it won't run unless the sign is powered.

• Command to set a destination in a current cart, like /cart dest Oz.

All wool is considered control blocks

Since this line is checking for ANY wool block:

return (isWool(block) && isRail(blockAbove));

We have the issue that the usual cart acceleration does not work on other (like light gray) wool blocks as they are considered control blocks.

We should instead of hard-coding the wool colors, defining block types by control function and put the color into the configuration and then have the line above just check for one of the used colors instead.

How to Build?

Any chance the steps to create a runnable jar from this source can be described, or some sort of project file for some sort of IDE (if one is used) can be included? I've tried using the community edition of IntelliJ (which I've done other Plugins in) and I can't get a working jar. Possibly I've done something wrong, I'll keep trying, but a few steps or helpful hints might go a long way for someone who's pretty much a noob at messing with Java.

Thanks.

Plugin crashes

Error in logfile:

[03:42:49] [Server thread/ERROR]: Could not pass event VehicleEnterEvent to SmartCart v0.1.2
org.bukkit.event.EventException
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:310) ~[spigot.jar:git-Spigot-17fce80-25de1e6]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot.jar:git-Spigot-17fce80-25de1e6]
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) ~[spigot.jar:git-Spigot-17fce80-25de1e6]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487) ~[spigot.jar:git-Spigot-17fce80-25de1e6]
at net.minecraft.server.v1_8_R3.Entity.mount(Entity.java:1569) ~[spigot.jar:git-Spigot-17fce80-25de1e6]
at net.minecraft.server.v1_8_R3.EntityLiving.mount(EntityLiving.java:1727) ~[spigot.jar:git-Spigot-17fce80-25de1e6]
at net.minecraft.server.v1_8_R3.ChunkRegionLoader.loadEntities(ChunkRegionLoader.java:402) ~[spigot.jar:git-Spigot-17fce80-25de1e6]
at org.bukkit.craftbukkit.v1_8_R3.chunkio.ChunkIOProvider.callStage2(ChunkIOProvider.java:46) ~[spigot.jar:git-Spigot-17fce80-25de1e6]
at org.bukkit.craftbukkit.v1_8_R3.chunkio.ChunkIOProvider.callStage2(ChunkIOProvider.java:1) ~[spigot.jar:git-Spigot-17fce80-25de1e6]
at org.bukkit.craftbukkit.v1_8_R3.util.AsynchronousExecutor$Task.finish(AsynchronousExecutor.java:188) ~[spigot.jar:git-Spigot-17fce80-25de1e6]
at org.bukkit.craftbukkit.v1_8_R3.util.AsynchronousExecutor$Task.get(AsynchronousExecutor.java:164) ~[spigot.jar:git-Spigot-17fce80-25de1e6]
at org.bukkit.craftbukkit.v1_8_R3.util.AsynchronousExecutor.skipQueue(AsynchronousExecutor.java:334) ~[spigot.jar:git-Spigot-17fce80-25de1e6]
at org.bukkit.craftbukkit.v1_8_R3.util.AsynchronousExecutor.getSkipQueue(AsynchronousExecutor.java:295) ~[spigot.jar:git-Spigot-17fce80-25de1e6]
at org.bukkit.craftbukkit.v1_8_R3.chunkio.ChunkIOExecutor.syncChunkLoad(ChunkIOExecutor.java:16) ~[spigot.jar:git-Spigot-17fce80-25de1e6]
at net.minecraft.server.v1_8_R3.ChunkProviderServer.getChunkAt(ChunkProviderServer.java:115) ~[spigot.jar:git-Spigot-17fce80-25de1e6]
at net.minecraft.server.v1_8_R3.ChunkProviderServer.getChunkAt(ChunkProviderServer.java:97) ~[spigot.jar:git-Spigot-17fce80-25de1e6]
at org.bukkit.craftbukkit.v1_8_R3.CraftWorld.getChunkAt(CraftWorld.java:125) ~[spigot.jar:git-Spigot-17fce80-25de1e6]
at org.bukkit.craftbukkit.v1_8_R3.CraftWorld.getBlockAt(CraftWorld.java:89) ~[spigot.jar:git-Spigot-17fce80-25de1e6]
at org.bukkit.craftbukkit.v1_8_R3.CraftWorld.getBlockAt(CraftWorld.java:567) ~[spigot.jar:git-Spigot-17fce80-25de1e6]
at org.bukkit.Location.getBlock(Location.java:87) ~[spigot.jar:git-Spigot-17fce80-25de1e6]
at net.f85.SmartCart.SmartCartVehicle.isOnRail(SmartCartVehicle.java:82) ~[?:?]
at net.f85.SmartCart.SmartCartListener.onVehicleEnter(SmartCartListener.java:80) ~[?:?]
at sun.reflect.GeneratedMethodAccessor379.invoke(Unknown Source) ~[?:?]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.7.0_79]
at java.lang.reflect.Method.invoke(Method.java:606) ~[?:1.7.0_79]

This repeats endlessly.
I cannot figure out what causes it, exactly.

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.