最近はプラグインメインで組んでます。
Java なんだかんだ長年付き合ってきたので今では好きです。
C# 慣性で組めます。一応学んではいます。
C/C++ 触らな過ぎて忘れました。
JS/TS 偶に触ってました、初心者です。
PHP そんな好きじゃないです。
== そのうち触りたいやつ ==
Go サーバーサイドを学ぶついでに触りたい。
Python 文法が嫌いなのでやりたくないけど、楽そうなので触りたいパターン
[SBPの拡張]任意のエンティティにスクリプトを設定するプラグインです。
Home Page: https://www.spigotmc.org/resources/scriptentityplus.80165/
License: GNU General Public License v3.0
サーバー起動時に以下のようなエラーが絶え間無く流れています。
Paperサーバーです。
git-Paper-1618 (MC: 1.12.2) (Implementing API version 1.12.2-R0.1-SNAPSHOT)
Could not pass event BlockPhysicsEvent to ScriptBlockPlus v2.1.1
org.bukkit.event.EventException: null
at org.bukkit.plugin.EventExecutor$2.execute(EventExecutor.java:72) ~[patched_1.12.2.jar:git-Paper-1618]
at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:78) ~[patched_1.12.2.jar:git-Paper-1618]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[patched_1.12.2.jar:git-Paper-1618]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:513) ~[patched_1.12.2.jar:git-Paper-1618]
at net.minecraft.server.v1_12_R1.World.a(World.java:595) ~[patched_1.12.2.jar:git-Paper-1618]
at net.minecraft.server.v1_12_R1.World.applyPhysics(World.java:551) ~[patched_1.12.2.jar:git-Paper-1618]
at net.minecraft.server.v1_12_R1.World.update(World.java:501) ~[patched_1.12.2.jar:git-Paper-1618]
at net.minecraft.server.v1_12_R1.World.notifyAndUpdatePhysics(World.java:453) ~[patched_1.12.2.jar:git-Paper-1618]
at net.minecraft.server.v1_12_R1.World.setTypeAndData(World.java:437) ~[patched_1.12.2.jar:git-Paper-1618]
at net.minecraft.server.v1_12_R1.BlockDaylightDetector.c(BlockDaylightDetector.java:49) ~[patched_1.12.2.jar:git-Paper-1618]
at net.minecraft.server.v1_12_R1.TileEntityLightDetector.e(SourceFile:16) ~[patched_1.12.2.jar:git-Paper-1618]
at net.minecraft.server.v1_12_R1.World.tickEntities(World.java:1658) ~[patched_1.12.2.jar:git-Paper-1618]
at net.minecraft.server.v1_12_R1.WorldServer.tickEntities(WorldServer.java:682) ~[patched_1.12.2.jar:git-Paper-1618]
at net.minecraft.server.v1_12_R1.MinecraftServer.D(MinecraftServer.java:921) ~[patched_1.12.2.jar:git-Paper-1618]
at net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:423) ~[patched_1.12.2.jar:git-Paper-1618]
at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:774) ~[patched_1.12.2.jar:git-Paper-1618]
at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:666) ~[patched_1.12.2.jar:git-Paper-1618]
at java.lang.Thread.run(Thread.java:829) [?:?]
Caused by: java.lang.NullPointerException: map-01 does not exist
at com.github.yuttyann.scriptblockplus.utils.Utils.getWorld(Utils.java:165) ~[?:?]
at com.github.yuttyann.scriptblockplus.BlockCoords.fromString(BlockCoords.java:309) ~[?:?]
at com.github.yuttyann.scriptblockplus.file.json.builder.BlockCoordsAdapter.deserialize(BlockCoordsAdapter.java:45) ~[?:?]
at com.github.yuttyann.scriptblockplus.file.json.builder.BlockCoordsAdapter.deserialize(BlockCoordsAdapter.java:34) ~[?:?]
at com.google.gson.internal.bind.TreeTypeAdapter.read(TreeTypeAdapter.java:69) ~[patched_1.12.2.jar:git-Paper-1618]
at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.read(ReflectiveTypeAdapterFactory.java:129) ~[patched_1.12.2.jar:git-Paper-1618]
at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:220) ~[patched_1.12.2.jar:git-Paper-1618]
at com.google.gson.internal.bind.TypeAdapterRuntimeTypeWrapper.read(TypeAdapterRuntimeTypeWrapper.java:41) ~[patched_1.12.2.jar:git-Paper-1618]
at com.google.gson.internal.bind.CollectionTypeAdapterFactory$Adapter.read(CollectionTypeAdapterFactory.java:82) ~[patched_1.12.2.jar:git-Paper-1618]
at com.google.gson.internal.bind.CollectionTypeAdapterFactory$Adapter.read(CollectionTypeAdapterFactory.java:61) ~[patched_1.12.2.jar:git-Paper-1618]
at com.google.gson.Gson.fromJson(Gson.java:887) ~[patched_1.12.2.jar:git-Paper-1618]
at com.github.yuttyann.scriptblockplus.file.json.BaseJson.loadJson(BaseJson.java:437) ~[?:?]
at com.github.yuttyann.scriptblockplus.file.json.BaseJson.<init>(BaseJson.java:129) ~[?:?]
at com.github.yuttyann.scriptblockplus.file.json.basic.OneJson.<init>(OneJson.java:81) ~[?:?]
at com.github.yuttyann.scriptblockplus.file.json.derived.BlockScriptJson.<init>(BlockScriptJson.java:43) ~[?:?]
at com.github.yuttyann.scriptblockplus.file.json.CacheJson.newInstance(CacheJson.java:78) ~[?:?]
at com.github.yuttyann.scriptblockplus.file.json.BaseJson.newJson(BaseJson.java:154) ~[?:?]
at com.github.yuttyann.scriptblockplus.file.json.derived.BlockScriptJson.get(BlockScriptJson.java:64) ~[?:?]
at com.github.yuttyann.scriptblockplus.listener.BlockListener.onBlockPhysics(BlockListener.java:64) ~[?:?]
at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor534.execute(Unknown Source) ~[?:?]
at org.bukkit.plugin.EventExecutor$2.execute(EventExecutor.java:70) ~[patched_1.12.2.jar:git-Paper-1618]
... 17 more
人が入るとパッタリ止むことが多いです。
ご確認のほどよろしくお願いします。
Bug Report,
Tested with Spigot1.13.2-R0.1 (Not sure if it exists in latest version ) Java 8
ScriptBlockPlus 1.9.7, ScriptEntityPlus 1.0.2 and some common plugins.
When setting the switch "Projectile" to Enabled, then any attack with weapons or projectiles will cause this error log below:
However another switch "Invincible" works good.
Please take a look at this bug, thank you.
/
/
/
/
[10:41:46] [Server thread/ERROR]: Could not pass event EntityDamageByEntityEvent to ScriptEntityPlus v1.0.2
org.bukkit.event.EventException: null
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:308) ~[spigot-1.13.2-R0.1-SNAPSHOT-b2153.jar:git-Spigot-947a8e7-17ff1e0]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot-1.13.2-R0.1-SNAPSHOT-b2153.jar:git-Spigot-947a8e7-17ff1e0]
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:500) ~[spigot-1.13.2-R0.1-SNAPSHOT-b2153.jar:git-Spigot-947a8e7-17ff1e0]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:485) ~[spigot-1.13.2-R0.1-SNAPSHOT-b2153.jar:git-Spigot-947a8e7-17ff1e0]
at org.bukkit.craftbukkit.v1_13_R2.event.CraftEventFactory.callEvent(CraftEventFactory.java:100) ~[spigot-1.13.2-R0.1-SNAPSHOT-b2153.jar:git-Spigot-947a8e7-17ff1e0]
at org.bukkit.craftbukkit.v1_13_R2.event.CraftEventFactory.callEntityDamageEvent(CraftEventFactory.java:663) ~[spigot-1.13.2-R0.1-SNAPSHOT-b2153.jar:git-Spigot-947a8e7-17ff1e0]
at org.bukkit.craftbukkit.v1_13_R2.event.CraftEventFactory.handleEntityDamageEvent(CraftEventFactory.java:562) ~[spigot-1.13.2-R0.1-SNAPSHOT-b2153.jar:git-Spigot-947a8e7-17ff1e0]
at org.bukkit.craftbukkit.v1_13_R2.event.CraftEventFactory.handleLivingEntityDamageEvent(CraftEventFactory.java:695) ~[spigot-1.13.2-R0.1-SNAPSHOT-b2153.jar:git-Spigot-947a8e7-17ff1e0]
at net.minecraft.server.v1_13_R2.EntityLiving.damageEntity0(EntityLiving.java:1445) ~[spigot-1.13.2-R0.1-SNAPSHOT-b2153.jar:git-Spigot-947a8e7-17ff1e0]
at net.minecraft.server.v1_13_R2.EntityLiving.damageEntity(EntityLiving.java:967) ~[spigot-1.13.2-R0.1-SNAPSHOT-b2153.jar:git-Spigot-947a8e7-17ff1e0]
at net.minecraft.server.v1_13_R2.EntityMonster.damageEntity(SourceFile:61) ~[spigot-1.13.2-R0.1-SNAPSHOT-b2153.jar:git-Spigot-947a8e7-17ff1e0]
at net.minecraft.server.v1_13_R2.EntityZombie.damageEntity(EntityZombie.java:253) ~[spigot-1.13.2-R0.1-SNAPSHOT-b2153.jar:git-Spigot-947a8e7-17ff1e0]
at net.minecraft.server.v1_13_R2.EntityPigZombie.damageEntity(EntityPigZombie.java:117) ~[spigot-1.13.2-R0.1-SNAPSHOT-b2153.jar:git-Spigot-947a8e7-17ff1e0]
at net.minecraft.server.v1_13_R2.EntityHuman.attack(EntityHuman.java:1050) ~[spigot-1.13.2-R0.1-SNAPSHOT-b2153.jar:git-Spigot-947a8e7-17ff1e0]
at net.minecraft.server.v1_13_R2.EntityPlayer.attack(EntityPlayer.java:1334) ~[spigot-1.13.2-R0.1-SNAPSHOT-b2153.jar:git-Spigot-947a8e7-17ff1e0]
at net.minecraft.server.v1_13_R2.PlayerConnection.a(PlayerConnection.java:1876) ~[spigot-1.13.2-R0.1-SNAPSHOT-b2153.jar:git-Spigot-947a8e7-17ff1e0]
at net.minecraft.server.v1_13_R2.PacketPlayInUseEntity.a(SourceFile:69) ~[spigot-1.13.2-R0.1-SNAPSHOT-b2153.jar:git-Spigot-947a8e7-17ff1e0]
at net.minecraft.server.v1_13_R2.PacketPlayInUseEntity.a(SourceFile:13) ~[spigot-1.13.2-R0.1-SNAPSHOT-b2153.jar:git-Spigot-947a8e7-17ff1e0]
at net.minecraft.server.v1_13_R2.PlayerConnectionUtils.a(SourceFile:10) ~[spigot-1.13.2-R0.1-SNAPSHOT-b2153.jar:git-Spigot-947a8e7-17ff1e0]
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:1.8.0_181]
at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.8.0_181]
at net.minecraft.server.v1_13_R2.SystemUtils.a(SourceFile:199) [spigot-1.13.2-R0.1-SNAPSHOT-b2153.jar:git-Spigot-947a8e7-17ff1e0]
at net.minecraft.server.v1_13_R2.MinecraftServer.b(MinecraftServer.java:900) [spigot-1.13.2-R0.1-SNAPSHOT-b2153.jar:git-Spigot-947a8e7-17ff1e0]
at net.minecraft.server.v1_13_R2.DedicatedServer.b(DedicatedServer.java:417) [spigot-1.13.2-R0.1-SNAPSHOT-b2153.jar:git-Spigot-947a8e7-17ff1e0]
at net.minecraft.server.v1_13_R2.MinecraftServer.a(MinecraftServer.java:835) [spigot-1.13.2-R0.1-SNAPSHOT-b2153.jar:git-Spigot-947a8e7-17ff1e0]
at net.minecraft.server.v1_13_R2.MinecraftServer.run(MinecraftServer.java:733) [spigot-1.13.2-R0.1-SNAPSHOT-b2153.jar:git-Spigot-947a8e7-17ff1e0]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_181]
Caused by: java.lang.NoClassDefFoundError: org/bukkit/entity/ThrowableProjectile
at com.github.yuttyann.scriptentityplus.listener.EntityListener.damageEvent(EntityListener.java:72) ~[?:?]
at com.github.yuttyann.scriptentityplus.listener.EntityListener.onEntityDamageByEntity(EntityListener.java:59) ~[?:?]
at sun.reflect.GeneratedMethodAccessor21.invoke(Unknown Source) ~[?:?]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_181]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_181]
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:304) ~[spigot-1.13.2-R0.1-SNAPSHOT-b2153.jar:git-Spigot-947a8e7-17ff1e0]
... 26 more
Just as the title,I think it's a very useful function
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.