floored1585 / smartcart Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
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.
Since this line is checking for ANY wool block:
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.
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.
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.
Can you post new link or post information how to compile sources?
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.