Minecraft(我的世界)中文论坛

标题: [转载][管理]Pokkit —— 想让spigot插件在nk上运行吗?[1.0.0]

作者: _king_j    时间: 2017-7-7 19:32
标题: [转载][管理]Pokkit —— 想让spigot插件在nk上运行吗?[1.0.0]
本帖最后由 逗比的幻影 于 2018-7-5 18:20 编辑
关于有玩家不知道这个插件原理的,版主我做一点扫盲:Java有一个叫做反射(Reflection)的机制,允许Java应用在知道方法名的情况下相互调用。Nukkit和Bukkit同样基于强大的Java,理论上可以通过映射的方法插件相互通用,这款小插件把这个理论成为现实。经过版主本人测试,它可以完美兼容登录、聊天控制等pe可能实现的功能的插件部分完美实现领地、小游戏逻辑、世界修改器等pe与pc不同的方面,可能不兼容需要pc特定功能的插件。请各位投入生产使用前经过反复测试。    ——版主 Snake1999

插件介绍
众所周知,PC有大量的插件,本插件就是可以把pc的spigot插件放在nk端使用
(bk未测试),但是这并不完美!
可能有些插件无法使用(因为spigot的api太混乱)
如果您测试了插件无法使用/可以使用,请下方回复
本人会列一个表格,统计插件
当然,你也可以联系作者修复bug!
配置详解
如果您安装了插件,您会发现在plugin/pokkit中
有三个文件分别是:

bukkitPlugins: 放置bk插件的地方
permissions.yml: bk的 permissions.yml file
scoreboard.yml: pc的计分板数据。
图片
这种插件还要图片???没有!
已统计的插件列表
以下是作者统计的
Comments
Working!
Bonnes Essentials alternative. Throws error at startup and requires the vault. Remove the lore lines from kits!
Working!
ChatExNot working! only show "%2$s" in chat.
ChestShopDon't forget to download Vault! If you don't download Vault, it will throw an error in the console (Circular dependency detected and Missing dependency)
ChopTreeWorks!.
ClearLaggMost commands work, /lagg clear is not yet supported.
ColoredTags v2.1.3 (latest)Commands seem to work. requires vault
CoreProtectWorks partially, only blocks are logged by the plugin and breaking with the inspector tool enabled doesn't work (Nukkit bug, works in survival mode), rollbacking works.
CraftEconomySurprisingly it does work without any issue, didn't test it too much, but the setup command worked (didn't test MySQL, only H2)
EssentialsMost commands dont work and debugging Essentials is a bit difficult since it doesn't throw any exceptions
EssentialsX v2.0.1/warp /home and built-in economy working,  errors: when player connect (motd show error ?), commands: /speed /kill
Bssentials [Best Essentials] v2.5 /v2.3Doesn't work!
BottomLine (Essentials alternative) v1.2.7Partial working, error when player connecting, when player say something in chat - huge LAG and bandwidth usage (bug?)
Fe Economy
GriefPreventionBasic protection and claim deletion is working, can protect via /claim or gold shovel.
IslandWorldErrors spam the console when a player is online
Jobs v2.12.0Doesn't work!  Can't join job.
LogItLoads, don't forget to give the permissions for the commands via a auth plugin or else it will always say "No permission". Requires a patched build since it still uses the old getOnlinePlayers()
Partial working - working /cprivate on chest and standard door.
LWC Unofficial v1.8.0Working GREAT!
maxbanUse the latest version, if you try to use older versions the server will hang. Fails at downloading its geoip database (throws http exceptiom, may be a firewall misconfiguration)
NoCheatPlusI don't know why you are going to use NoCheatPlus on a Nukkit server, but hey! It does work... Use NCP for 1.8.8, the latest dev builds doesn't work because it checks the NMS via Reflection
NuVotifierDidn't test it 100% but the plugin loads and the port is registered successfully
PermissionsBukkit
bPermissions v2.12Working!
PermissionsExChange it's plugin.yml to thishttps://gist.github.com/MrPowerG ... 46e450668444632f826 - Throws errors on startup but seems fine (can use /pex)
zPermissionsAll wersion Doesn't works, error creating configs.
PlotGuardianhttps://dev.bukkit.org/bukkit-plugins/plotguardian/
https://dev.bukkit.org/bukkit-plugins/plotsquared/    (Or you can use an official Nukkit build by the same dev: http://forums.voxelwind.com/resources/plotsquared.105/)
Raspberry JuicePlugin at https://github.com/zhuowei/RaspberryJuice and information at https://dev.bukkit.org/bukkit-plugins/raspberryjuice/ . Works with Pokkit 0.5-SNAPSHOT, not with 0.4 release. Some intermittent errors which I'll raise as issues.
vcWorks!
SaneEconomyhttps://www.spigotmc.org/resources/saneeconomy-simple-but-featureful-economy.26223/
SimplePrefix v2.5.1Working!
TreeAssistDoesnt working
The GUI doesn't work, however you can use the command (/trail) and apply trails to yourself, a little buggy but does work. Trail is unable to be seen
https://dev.bukkit.org/bukkit-plugins
VoteRoulette
WorldBorder v1.8.6Working GOOD! without errors in console/chat!
WorldEditWorks, however chests will be empty and signs blank (etc.) when something is copied or undone
WorldGuard
MineSecure v4.1
KitPluginWorks all functions
WarpPortalshttps://dev.bukkit.org/bukkit-plugins/kitplugin/files/32-v7-6/
WarpSigns v5.2Working Good!
Mine SecureObsidian blows up, crack function doesnt work.
Lagg removeDoesn't appear to work; throws lots of exceptions at startup.
NoteblockApiPlugin obviously works, but I think that the error in the poll begins with the old SFT  :ú
Some commands don't work,but it does its job.
Connection-PingCrashes the whole server
FirstJoinPlushttps://dev.bukkit.org/projects/firstjoinplus
iConomy 7Works all functions / v2.0
Work latest version
iConomy 8 RecreationWorking!
Works all functions / v1.8
SignStatusWorks all functions / use old version
WirelessRedstoneWorks but many bugs. (Nukkit problem) / v2.6.5
CharsAPIWorks but may not work many animation / v0.4.2
CustomHelpMessage100% Working / v1.4
TheMazeWorks all functions / v1.0b
ParticleAPIWork successful startup (Not tested)
OHminecraftSigns dont work.
Admin funWorks great!
Seems to work, but it has trouble updating some of the plugins...
PlugmanSeems to work mostly, may encounter errors
StaffChatDoes not work
iChat v2.5.7Doesn't work
mChat /b275 /letestDoesn't work, multiple errors!
working!
Voidespawn https://www.spigotmc.org/resources/voidspawn.19350/"}">Working with charm---> https://www.spigotmc.org/resources/voidspawn.19350/
Skywars Reloaded
TrainingPvP
HolographicDisplays
iDisguise
PluginManager
以下是本人统计的
Laggremover————————可以正常使用
RPGITEM—————————无法正常使用
本人的话
本人支持并十分看好nk发展,且本人也在
学习nk插件编写,同时我会搬运更多的插件!
希望各位多给我点金粒和人气!!

作者: 翼LOVE·小爱    时间: 2017-7-7 19:40
正好想研究nukkit,感谢楼主搬运!
作者: _king_j    时间: 2017-7-7 20:32
翼LOVE·小爱 发表于 2017-7-7 19:40
正好想研究nukkit,感谢楼主搬运!

我跌倒了,我要人气才能爬起来~
作者: frea    时间: 2017-7-7 22:24
spigot插件用在nukkit上?还有这种操作
作者: _king_j    时间: 2017-7-8 19:37
frea 发表于 2017-7-7 22:24
spigot插件用在nukkit上?还有这种操作

那是当然~
作者: _king_j    时间: 2017-7-8 19:38
frea 发表于 2017-7-7 22:24
spigot插件用在nukkit上?还有这种操作

nk发展越来越好了
作者: king__s    时间: 2017-7-21 17:29
WOC,感谢楼主,666666666666666666
作者: yangpusy    时间: 2017-8-11 10:39
66666666666666
作者: yangpusy    时间: 2017-8-11 10:40
有很多插件用不起来...
作者: www847343    时间: 2017-8-11 18:03
Nukkit大法好
作者: 2420848842    时间: 2017-10-16 17:19
非常好!!!值得赞!!!!
作者: Actahedral    时间: 2017-11-14 21:41
不是Laggremove,是Laggremover
作者: Ginkgo06    时间: 2018-4-25 14:25
太强了。。。。可惜用不了指令木牌
作者: qq1463650137    时间: 2019-11-29 00:06
你好 我使用这个插件  然后用的EssentialsX插件 setspawn后 重启服务器就失效了
作者: PQguanfang    时间: 2019-11-29 05:39
qq1463650137 发表于 2019-11-29 00:06
你好 我使用这个插件  然后用的EssentialsX插件 setspawn后 重启服务器就失效了

那是因为你把这个想的太高级了:)
能给你加载给spigot的进服回城就不错了

而且基础插件nk又不是没有
作者: 冬天冬天W    时间: 2020-2-8 19:50
为什么我加入的VIP插件无法运行呢。作者大大可以发一下教程吗
作者: A1124201329    时间: 2020-2-9 17:38
这样的话会不会增加Nukkit服务器cpu负载阿?
作者: 微醉的阳光    时间: 2020-2-16 06:56
还是有很多的插件运行不起来,这个插件还会更新????
作者: ljh221    时间: 2020-2-24 03:50
能兼容一下stp那些跨服吗?
我跨服端是waterdog
找不到nukkit跨服插件
希望楼主弄个兼容
作者: zxyzxy123456    时间: 2020-3-5 13:37
和ASkyBlock插件冲突,然后似乎加载都加载不了spigot的空岛插件
嘛,也是没办法的事情,毕竟用的不是当时作者用的空岛插件
作者: 蓝天skyblue    时间: 2020-3-10 09:20
问一下 插件安在哪里 nukkit
作者: 三薛定谔三    时间: 2020-3-10 11:51
np!!!
作者: 三薛定谔三    时间: 2020-3-10 11:52
哇哇啊啊啊
作者: 三薛定谔三    时间: 2020-3-10 11:52
太棒啦啊啊啊啊
作者: 三薛定谔三    时间: 2020-3-10 11:53
过于牛皮
作者: 三薛定谔三    时间: 2020-3-10 11:54
此帖必火啊啊啊
作者: 马踏踏    时间: 2020-3-16 09:17
黑科技 绝了
作者: 一只鸽纸    时间: 2020-3-16 09:32
安装插件没生成pokkit文件夹,控制台似乎也没有读取pokkit
作者: WelI    时间: 2020-4-25 14:42
AcidIsland这个插件似乎不行
作者: cui1009    时间: 2020-4-26 06:11
终于可以鼓捣nukkit了,spigot弄的我快吐了
作者: Kaycold    时间: 2020-5-2 17:55
支持支持!!!
作者: 666MEMZ    时间: 2020-5-13 20:14
NCP 能运行但是检测作弊有问题
20:13:25 [ERROR] [Pokkit] [NoCheatPlus] JoinLeaveListener(fr.neatmonster.nocheatplus.checks.inventory.InventoryListener) generated an exception (leave): UnsupportedOperationException
20:13:25 [ERROR] [Pokkit] [NoCheatPlus] java.lang.UnsupportedOperationException: This method is not supported yet by Pokkit 0.5
        nl.rutgerkok.pokkit.Pokkit.unsupported(Pokkit.java:81)
        nl.rutgerkok.pokkit.entity.PokkitHumanEntity.getOpenInventory(PokkitHumanEntity.java:82)
        fr.neatmonster.nocheatplus.utilities.InventoryUtil.hasInventoryOpen(InventoryUtil.java:189)
        fr.neatmonster.nocheatplus.checks.inventory.Open.check(Open.java:65)
        fr.neatmonster.nocheatplus.checks.inventory.InventoryListener.playerLeaves(InventoryListener.java:482)
        fr.neatmonster.nocheatplus.NoCheatPlus.onLeave(NoCheatPlus.java:1401)
        fr.neatmonster.nocheatplus.NoCheatPlus$7.onPlayerQuit(NoCheatPlus.java:1358)
        sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        java.lang.reflect.Method.invoke(Unknown Source)
        org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302)
        org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
        nl.rutgerkok.pokkit.plugin.BukkitEventManager.fireEvent(BukkitEventManager.java:64)
        nl.rutgerkok.pokkit.plugin.BukkitEventManager.callEvent(BukkitEventManager.java:49)
        nl.rutgerkok.pokkit.plugin.PokkitPluginManager.callEvent(PokkitPluginManager.java:79)
        nl.rutgerkok.pokkit.pluginservice.EventTranslator.callUncancellable(EventTranslator.java:41)
        nl.rutgerkok.pokkit.pluginservice.PlayerConnectEvents.onPlayerQuit(PlayerConnectEvents.java:67)
        sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        java.lang.reflect.Method.invoke(Unknown Source)
        cn.nukkit.plugin.MethodEventExecutor.execute(MethodEventExecutor.java:29)
        cn.nukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:56)
        cn.nukkit.plugin.PluginManager.callEvent(PluginManager.java:546)
        cn.nukkit.Player.close(Player.java:3609)
        cn.nukkit.Player.close(Player.java:3595)
        cn.nukkit.network.RakNetInterface.closeSession(RakNetInterface.java:84)
        cn.nukkit.raknet.server.ServerHandler.handlePacket(ServerHandler.java:164)
        cn.nukkit.network.RakNetInterface.process(RakNetInterface.java:66)
        cn.nukkit.network.Network.processInterfaces(Network.java:83)
        cn.nukkit.Server.tick(Server.java:1132)
        cn.nukkit.Server.tickProcessor(Server.java:911)
        cn.nukkit.Server.start(Server.java:888)
        cn.nukkit.Server.<init>(Server.java:573)
        cn.nukkit.Nukkit.main(Nukkit.java:112)

作者: BanZang    时间: 2020-5-14 09:47
666MEMZ 发表于 2020-5-13 20:14
NCP 能运行但是检测作弊有问题
20:13:25 [ERROR]  [NoCheatPlus] JoinLeaveListener(fr.neatmonster.nochea ...

好久没有更新了,你可以和作者反馈一下
作者: kioging    时间: 2020-5-14 20:51
服务器娘可以用吗
作者: 一只鸽纸    时间: 2020-5-14 21:15
666MEMZ 发表于 2020-5-13 20:14
NCP 能运行但是检测作弊有问题
20:13:25 [ERROR]  [NoCheatPlus] JoinLeaveListener(fr.neatmonster.nochea ...

最近的更新都是2019年的了