Code Monkey home page Code Monkey logo

mohist's Introduction

Mohist 1.20.1

Minecraft Forge Hybrid server implementing the Spigot/Bukkit API, formerly known as Thermos/Cauldron/MCPC+

Mohist Project Status

Progress

Getting Help

MohistWiki (Here is everything you need related to Mohist)

Upstream Projects

Special Thanks To:

YourKit-Logo

YourKit, makers of the outstanding java profiler, support open source projects of all kinds with their full featured Java and .NET application profilers. We thank them for granting Mohist an OSS license so that we can make our software the best it can be.

JetBrains, creators of the IntelliJ IDEA, supports Paper with one of their Open Source Licenses. IntelliJ IDEA is the recommended IDE for working with Paper, and most of the Paper team uses it.

mohist's People

Contributors

glowingstone124 avatar mellda1024 avatar mgazul avatar neovitalism avatar shawiizz avatar tonimatasdev avatar wdog5 avatar wtlgo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

mohist's Issues

Exception in thread "main"

[01:45:28] [main/ERROR] [mixin]: Critical injection failure: LVT in net/minecraft/world/World::func_72939_s()V has incompatible changes at opcode 855 in callback net/minecraft/world/World::handler$beforeTick$zzp000.
Expected: [Ljava/util/Iterator;, Lnet/minecraft/tileentity/TileEntity;, Lnet/minecraft/util/math/BlockPos;]
Found: [Ljava/util/Set;, I, I, Lnet/minecraft/tileentity/TileEntity;, Lnet/minecraft/util/math/BlockPos;]

OpenInv

[11:36:14 INFO]: Kompanion8 issued server command: /oe [11:36:14 WARN]: java.lang.NoSuchFieldException: field_70482_c [11:36:14 WARN]: at java.lang.Class.getField(Class.java:1703) [11:36:14 WARN]: at red.mohist.common.remap.proxy.ProxyClass.getField(ProxyClass.java:51) [11:36:14 WARN]: at com.lishid.openinv.internal.v1_12_R1.SpecialEnderChest.setItemLists(SpecialEnderChest.java:71) [11:36:14 WARN]: at com.lishid.openinv.internal.v1_12_R1.SpecialEnderChest.<init>(SpecialEnderChest.java:51) [11:36:14 WARN]: at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [11:36:14 WARN]: at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) [11:36:14 WARN]: at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) [11:36:14 WARN]: at java.lang.reflect.Constructor.newInstance(Constructor.java:423) [11:36:14 WARN]: at com.lishid.openinv.util.InternalAccessor.createObject(InternalAccessor.java:103) [11:36:14 WARN]: at com.lishid.openinv.util.InternalAccessor.newSpecialEnderChest(InternalAccessor.java:191) [11:36:14 WARN]: at com.lishid.openinv.OpenInv.getSpecialEnderChest(OpenInv.java:314) [11:36:14 WARN]: at com.lishid.openinv.commands.OpenEnderPluginCommand.openInventory(OpenEnderPluginCommand.java:139) [11:36:14 WARN]: at com.lishid.openinv.commands.OpenEnderPluginCommand.access$100(OpenEnderPluginCommand.java:33) [11:36:14 WARN]: at com.lishid.openinv.commands.OpenEnderPluginCommand$1$1.run(OpenEnderPluginCommand.java:89) [11:36:14 WARN]: at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftTask.run(CraftTask.java:77) [11:36:14 WARN]: at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:421) [11:36:14 WARN]: at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:848) [11:36:14 WARN]: at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:466) [11:36:14 WARN]: at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:790) [11:36:14 WARN]: at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:633) [11:36:14 WARN]: at java.lang.Thread.run(Thread.java:748)

[1.7.10] Different hash function result

Hello again

So I'm using hash function equal to this and getting different results on server and client (client is correct). Moreover, server returns different hash each try, while client returns the same (like it is supposed to). Tested on single and Forge server, everything was fine
Screenshot - https://imgur.com/a/u4c97TY

Mohist build 60

[1.7.10] Duplication with chunk overflow and rollback

Hello o/

Mohist Version: Build 47

A fairly old universal duplication that works on almost any server core. As far as I know, this is quite simply fixed, but for some reason no one has officially implemented this fix.

How duplication works:

Everything is based on the preservation of the chunk, and more precisely on its impossibility during overflow. It does not matter what exactly we are going to duplicate, the main thing is to find the most acceptable way for you to overflow the chunk.

How to reproduce duplication:

You can check the timecodes (TC) from the video.
Link: https://youtu.be/7MAjL7mcOzE

  1. First of all, we need something with which we will overflow the chunk. It can be any item capable of storing NBT. For ease of understanding, I selected signed books. Each of the 50 pages of the book is full of different characters (there are no identical pages) (TC).
  2. Next, we select a chunk that is not yet overflowing and place duplicate items in it (TC). Also a good solution would be to add to this list those items that we use FOR duplication (like my books), since in the process some of them will be destroyed.
  3. Now we need to save the chunk with the items selected for duplication. To do this, just disconnect from the server for a few seconds and reconnect (TC).
  4. Now the most important thing, we have to overflow the chunk. To do this, I copy the previously prepared layer of chests with books inside, and then paste the new layers above. After 2-3 layers, the chunk overflows (TC). Note that I did not copy the chest with duplicate items, but it is within the chunk.
  5. Now we just pick up our duplicate items from the chest (I just broke the chest) and reconnect to the server again so that the overflowing chunk tries to save (TC).
  6. As we can see, the chunk rolled back to its initial state (until the moment after our first reconnection), because it could not be saved due to overflow, and a broken chest appeared with all our duplicate items (TC).

Complete failure when used with All the Mods 3 modpack.

WAAAAY too many crashes and errors to report.
Wizardry was one of the major ones which prevented the entire server from starting.
Then Quark started causing crashes and errors.
Then AutoLibMod needed to be removed cause it was causing massive walls of errors when players connected and did anything. This also caused the removal of Psi, MagicPsi, Morph-O-Tool, Akashic Tome.
Then when a player joins and teleports the server crashes again, and we cant figure out why.

Also all of the ConcurrentModificationException crashes i had posted about on the old Mohist are still a problem on this version as well.

Dungeon Mobs, Lycanites Mobs crash on start

Tested with clean server & clean mods configs

Dungeon Mobs (dungeonmobs-5.8.3-MC1.12.2) crash on start :

Description: Exception in server tick loop

net.minecraftforge.fml.common.LoaderExceptionModCrash: Caught exception from Dungeon Mobs (dungeonmobs)
Caused by: java.lang.IllegalArgumentException: value already present: class com.gw.dm.projectile.EntityEyeRay
	at com.google.common.collect.HashBiMap.put(HashBiMap.java:287)
	at com.google.common.collect.HashBiMap.put(HashBiMap.java:262)
	at net.minecraft.util.registry.RegistrySimple.func_82595_a(SourceFile:42)
	at net.minecraft.util.registry.RegistryNamespaced.func_177775_a(SourceFile:22)
	at net.minecraftforge.fml.common.registry.EntityRegistry$EntityRegistration.<init>(EntityRegistry.java:91)
	at net.minecraftforge.fml.common.registry.EntityRegistry$EntityRegistration.<init>(EntityRegistry.java:71)
	at net.minecraftforge.fml.common.registry.EntityRegistry.doModEntityRegistration(EntityRegistry.java:209)
	at net.minecraftforge.fml.common.registry.EntityRegistry.registerModEntity(EntityRegistry.java:181)
	at com.gw.dm.util.MobRegistrar.registerMobs(MobRegistrar.java:237)
	at com.gw.dm.DungeonMobs.preInit(DungeonMobs.java:62)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at net.minecraftforge.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:637)
	at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at com.google.common.eventbus.Subscriber.invokeSubscriberMethod(Subscriber.java:91)
	at com.google.common.eventbus.Subscriber$SynchronizedSubscriber.invokeSubscriberMethod(Subscriber.java:150)
	at com.google.common.eventbus.Subscriber$1.run(Subscriber.java:76)
	at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:399)
	at com.google.common.eventbus.Subscriber.dispatchEvent(Subscriber.java:71)
	at com.google.common.eventbus.Dispatcher$PerThreadQueuedDispatcher.dispatch(Dispatcher.java:116)
	at com.google.common.eventbus.EventBus.post(EventBus.java:217)
	at net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:219)
	at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:197)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at com.google.common.eventbus.Subscriber.invokeSubscriberMethod(Subscriber.java:91)
	at com.google.common.eventbus.Subscriber$SynchronizedSubscriber.invokeSubscriberMethod(Subscriber.java:150)
	at com.google.common.eventbus.Subscriber$1.run(Subscriber.java:76)
	at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:399)
	at com.google.common.eventbus.Subscriber.dispatchEvent(Subscriber.java:71)
	at com.google.common.eventbus.Dispatcher$PerThreadQueuedDispatcher.dispatch(Dispatcher.java:116)
	at com.google.common.eventbus.EventBus.post(EventBus.java:217)
	at net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:136)
	at net.minecraftforge.fml.common.Loader.preinitializeMods(Loader.java:626)
	at net.minecraftforge.fml.server.FMLServerHandler.beginServerLoading(FMLServerHandler.java:103)
	at net.minecraftforge.fml.common.FMLCommonHandler.onServerStart(FMLCommonHandler.java:328)
	at net.minecraft.server.dedicated.DedicatedServer.func_71197_b(DedicatedServer.java:167)
	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:608)
	at java.lang.Thread.run(Unknown Source)

Lycanites Mobs (lycanitesmobs-1.12.2-2.0.0.4) cause crash on start :

Description: Exception in server tick loop

java.lang.IllegalArgumentException: value already present: class com.lycanitesmobs.core.entity.EntityProjectileCustom
	at com.google.common.collect.HashBiMap.put(HashBiMap.java:287)
	at com.google.common.collect.HashBiMap.put(HashBiMap.java:262)
	at net.minecraft.util.registry.RegistrySimple.func_82595_a(SourceFile:42)
	at net.minecraft.util.registry.RegistryNamespaced.func_177775_a(SourceFile:22)
	at net.minecraftforge.fml.common.registry.EntityRegistry$EntityRegistration.<init>(EntityRegistry.java:91)
	at net.minecraftforge.fml.common.registry.EntityEntryBuilder$BuiltEntityEntry.createRegistration(EntityEntryBuilder.java:353)
	at net.minecraftforge.fml.common.registry.EntityEntryBuilder$BuiltEntityEntry.addedToRegistry(EntityEntryBuilder.java:336)
	at net.minecraftforge.registries.GameData$EntityCallbacks.onAdd(GameData.java:515)
	at net.minecraftforge.registries.GameData$EntityCallbacks.onAdd(GameData.java:506)
	at net.minecraftforge.registries.ForgeRegistry.add(ForgeRegistry.java:350)
	at net.minecraftforge.registries.ForgeRegistry.add(ForgeRegistry.java:281)
	at net.minecraftforge.registries.ForgeRegistry.register(ForgeRegistry.java:113)
	at com.lycanitesmobs.core.info.projectile.ProjectileManager.registerEntities(ProjectileManager.java:125)
	at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_470_ProjectileManager_registerEntities_Register.invoke(.dynamic)
	at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90)
	at net.minecraftforge.fml.common.eventhandler.EventBus$1.invoke(EventBus.java:146)
	at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:186)
	at net.minecraftforge.registries.GameData.fireRegistryEvents(GameData.java:863)
	at net.minecraftforge.fml.common.Loader.preinitializeMods(Loader.java:627)
	at net.minecraftforge.fml.server.FMLServerHandler.beginServerLoading(FMLServerHandler.java:103)
	at net.minecraftforge.fml.common.FMLCommonHandler.onServerStart(FMLCommonHandler.java:328)
	at net.minecraft.server.dedicated.DedicatedServer.func_71197_b(DedicatedServer.java:167)
	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:608)
	at java.lang.Thread.run(Unknown Source)

Can't join the Server

java.lang.IllegalStateException: Too many channels registered
I had add -Dpaper.disableChannelLimit=true to fix it, failed.
Modpack: SkyFactory4-4.1.0
Mohist: Mohist-f09073d-server.jar (release)

[1.7.10] hurtResistantTime not reducing

Hello
So I'm trying to slightly speedup player attack rate in LivingHurtEvent - event.entityLiving.hurtResistantTime = 16
But it is not working. Tried in single and Forge server - everything is fine

Mohist build 60

[1.7.10] Is TickProfiler allowed?

Hello o/

Does it make sense to refrain from using TickProfiler with Mohist? Given the infamous KCauldron and Thermos experience, could a similar problem migrate to Mohist?

Link to the source of the question: CyberdyneCC/Thermos#52

P.S. Of course, the question may seem silly, but I can not find the answer to it myself. In any case, thanks for your time.

[1.12.2] Dupe with ender portal

If you drop a dragon egg / sand / gravel / anvil / something else in an ender portal in the end you will get 2 items in the overworld. It was tested on an empty server only with the last build Mohist core.

Incompatibility with NetherEx and End Reborn

I was assembling a pack of mods and I managed to isolate these mods that gave me problems. None of the mods get them to work even if they are alone.

In the case of the End Reborn, with the latest version 0.3.1, the server does not start, although using 0.3.0, it does work.

Crash Log: Crash_Endreborn_.txt

In the case of NetherEx, I have not been able to start in any of the latest versions.

Crash Log: Crash_NetherEx.txt

Thank you very much

Не запускается плагин Dynmap-3.0-beta-5-spigot на Mohist-694c08d

Не запускается плагин Dynmap-3.0-beta-5-spigot на Mohist-694c08d работает только forge версия плагина Dynmap
[13:22:50] [Server thread/INFO] [Mohist]: Loading dynmap v3.0-beta-5-218
[13:22:50] [Server thread/INFO] [Mohist]: [dynmap] version=1.4-694c08d (MC: 1.12.2)
[13:22:50] [Server thread/ERROR] [Mohist]: [dynmap] Error finding net.minecraft.server packages
[13:22:50] [Server thread/ERROR] [Mohist]: [dynmap] Cannot find [Lnet.minecraft.server.BiomeBase;
[13:22:50] [Server thread/ERROR] [org.bukkit.craftbukkit.v1_12_R1.CraftServer]: Error initializing dynmap - bukkit version incompatible! initializing dynmap v3.0-beta-5-218 (Is it up to date?)
java.lang.IllegalArgumentException: Error initializing dynmap - bukkit version incompatible!
at org.dynmap.bukkit.helper.BukkitVersionHelperGeneric.(BukkitVersionHelperGeneric.java:159) ~[?:?]
at org.dynmap.bukkit.helper.BukkitVersionHelperCB.(BukkitVersionHelperCB.java:45) ~[?:?]
at org.dynmap.bukkit.Helper.getHelper(Helper.java:55) ~[?:?]
at org.dynmap.bukkit.DynmapPlugin.onLoad(DynmapPlugin.java:791) ~[?:?]
at org.bukkit.craftbukkit.v1_12_R1.CraftServer.loadPlugins(CraftServer.java:385) [CraftServer.class:694c08d]
at net.minecraft.world.storage.SaveHandler.initBukkitData(SaveHandler.java:393) [bfb.class:?]
at net.minecraft.server.MinecraftServer.func_71247_a(MinecraftServer.java:320) [MinecraftServer.class:?]
at net.minecraft.server.dedicated.DedicatedServer.func_71197_b(DedicatedServer.java:322) [nz.class:?]
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:608) [MinecraftServer.class:?]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_221]

FAWE doesn't work

[05:38:59 WARN]: java.lang.NoSuchMethodError: net.minecraft.world.gen.ChunkProviderServer.getChunkAt(IILjava/lang/Runnable;Z)Lnet/minecraft/world/chunk/Chunk;
[05:38:59 WARN]:        at com.boydti.fawe.bukkit.v1_12.BukkitQueue_1_12.loadChunk(BukkitQueue_1_12.java:182)
[05:38:59 WARN]:        at com.boydti.fawe.bukkit.v1_12.BukkitQueue_1_12.loadChunk(BukkitQueue_1_12.java:51)
[05:38:59 WARN]:        at com.boydti.fawe.example.MappedFaweQueue$1.run(MappedFaweQueue.java:64)
[05:38:59 WARN]:        at com.boydti.fawe.example.MappedFaweQueue$1.run(MappedFaweQueue.java:56)
[05:38:59 WARN]:        at com.boydti.fawe.object.RunnableVal.run(RunnableVal.java:18)
[05:38:59 WARN]:        at com.boydti.fawe.util.TaskManager$3.run(TaskManager.java:348)
[05:38:59 WARN]:        at com.boydti.fawe.util.TaskManager$3.run(TaskManager.java:344)
[05:38:59 WARN]:        at com.boydti.fawe.object.RunnableVal.run(RunnableVal.java:18)
[05:38:59 WARN]:        at com.boydti.fawe.util.SetQueue$1.run(SetQueue.java:124)
[05:38:59 WARN]:        at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftTask.run(CraftTask.java:73)
[05:38:59 WARN]:        at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:424)
[05:38:59 WARN]:        at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:858)
[05:38:59 WARN]:        at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:467)
[05:38:59 WARN]:        at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:805)
[05:38:59 WARN]:        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:657)
[05:38:59 WARN]:        at java.lang.Thread.run(Thread.java:748)
[05:42:08 ERROR]: Could not pass event PlayerMoveEvent to FastAsyncWorldEdit v19.07.25-58243b6-1278-22.3.1
 org.bukkit.event.EventException: null
        at org.bukkit.plugin.EventExecutor.lambda$create$1(EventExecutor.java:63) ~[EventExecutor.class:0b877cb]
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:66) ~[RegisteredListener.class:0b877cb]
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:491) [SimplePluginManager.class:0b877cb]
        at net.minecraft.network.NetHandlerPlayServer.func_147347_a(NetHandlerPlayServer.java:832) [pa.class:?]
        at net.minecraft.network.play.client.CPacketPlayer.func_148833_a(CPacketPlayer.java:33) [lk.class:?]
        at net.minecraft.network.play.client.CPacketPlayer$Position.func_148833_a(CPacketPlayer.java:76) [lk$a.class:?]
        at net.minecraft.network.PacketThreadUtil$1.run(SourceFile:13) [hv$1.class:?]
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_212]
        at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_212]
        at net.minecraft.util.Util.func_181617_a(SourceFile:46) [h.class:?]
        at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:865) [MinecraftServer.class:?]
        at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:467) [nz.class:?]
        at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:805) [MinecraftServer.class:?]
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:657) [MinecraftServer.class:?]
        at java.lang.Thread.run(Thread.java:748) [?:1.8.0_212]
Caused by: java.lang.ArrayIndexOutOfBoundsException: 69855
        at com.boydti.fawe.FaweCache.getBlock(FaweCache.java:91) ~[?:?]
        at com.sk89q.worldedit.bukkit.BukkitPlayer.getBlockInHand(BukkitPlayer.java:97) ~[?:?]
        at com.boydti.fawe.wrappers.PlayerWrapper.getBlockInHand(PlayerWrapper.java:68) ~[?:?]
        at com.sk89q.worldedit.LocalSession.getTool(LocalSession.java:1009) ~[?:?]
        at com.boydti.fawe.bukkit.listener.BrushListener.onPlayerMove(BrushListener.java:73) ~[?:?]
        at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor13.execute(Unknown Source) ~[?:?]
        at org.bukkit.plugin.EventExecutor.lambda$create$1(EventExecutor.java:61) ~[EventExecutor.class:0b877cb]
        ... 14 more

Last build of core.

question

Will this work with a bungee server

Enderpearl not working

Tested at fresh server (latest version) without mods and plugins. Enderpearl teleport not work.

[1.7.10] Console spam "Failed to load"

Hello o/

Mohist Version: Build 58
Log: https://pastebin.com/aLjdc3QU

I understand that this is not an error at all, but a warning about the absence of some files on the first start of the server. It just seems to me that this kind of message does not make sense, given that at the next start of the server they will be gone.

Therefore, I propose to replace the output of this spam with something like:
"File sample.txt not found. Generating..."

P.S. In any case, thanks for your time.

[1.7.10] Endless shears

Hello o/

Mohist Version: Build 58

Duplication fix in issue #42 seems to have broken something and now silktouch shears do not break when the leaves are destroyed.

In the case of grass and other plants, there are no problems.

В процессе работы сервера на Mohist-e5dcef8 ошибка сохранения чанка иногда проскальзывает

[20:13:21] [File IO Thread/ERROR] [net.minecraft.world.chunk.storage.AnvilChunkLoader]: Failed to save chunk
java.util.ConcurrentModificationException: null
at java.util.HashMap$HashIterator.nextNode(HashMap.java:1445) ~[?:1.8.0_222]
at java.util.HashMap$KeyIterator.next(HashMap.java:1469) ~[?:1.8.0_222]
at net.minecraft.nbt.NBTTagCompound.func_74734_a(NBTTagCompound.java:32) ~[fy.class:?]
at net.minecraft.nbt.CompressedStreamTools.func_150663_a(CompressedStreamTools.java:118) ~[gi.class:?]
at net.minecraft.nbt.CompressedStreamTools.func_74800_a(CompressedStreamTools.java:108) ~[gi.class:?]
at net.minecraft.world.chunk.storage.RegionFileCache.getChunkOutputStream(RegionFileCache.java:138) ~[ayk.class:?]
at net.minecraft.world.chunk.storage.AnvilChunkLoader.func_183013_b(AnvilChunkLoader.java:249) ~[aye.class:?]
at net.minecraft.world.chunk.storage.AnvilChunkLoader.processSaveQueueEntry(AnvilChunkLoader.java:225) [aye.class:?]
at net.minecraft.world.chunk.storage.AnvilChunkLoader.func_75814_c(AnvilChunkLoader.java:197) [aye.class:?]
at net.minecraft.world.storage.ThreadedFileIOBase.func_75736_b(SourceFile:37) [bgx.class:?]
at net.minecraft.world.storage.ThreadedFileIOBase.run(SourceFile:30) [bgx.class:?]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_222]

Memory leak

This is data from a dump made while the server consumed too much RAM. (The garbage collector began to reduce TPS to 5 - 6)
image

[1.7.10] Server thread name

Hello

Server thread name on player login is "pool-2-thread-N" where n starts from 1 and goes on.
So if I call FMLCommonHandler.instance().getEffectiveSide() in PlayerLoggedInEvent it will always return me CLIENT because it checks by thread name

Mohist Version: Build 47

[1.7.10] Mutual support for client and server languages

Hello o/
I apologize in advance for my English.

My question is about the possibility of localizing the server that interests me very much. I already checked the operation of this function, but without proper documentation I could misunderstand. In general, as I understand it, the language that will be shown to the player on the server depends on the 'language' parameter in the uranium.yml file.

And this fixes one and at the same time causes another problem with systems that work on reading a request to chat.

Let me give you an example: in Botania mod there is the so-called Corporea system, which can issue items to the player upon his request to the chat. For example, a request to chat “1 stone” will give the player a “stone” item in the amount of 1. But the problem is that the language in which this system receives the request depends on the language of the server.

Thus, if a player uses the Russian language on the client, and the server is configured in English, then the Corporea system will not accept requests like "1 камень" (in Russian).

Of course, in the opposite case (if the client plays in English, and the server is configured in Russian), the problem persists.

The problem above interests me personally most of all, since my servers are fully translated into Russian, but many players prefer to play in English. And in this case, I need to be able to provide both groups of players with comfortable localization conditions.

What specifically I want to know: is it possible to make the server "pick up" the language from the client and send messages to it in its language?

How it could work: when a player connects to the server, the second one asks for the client language. And further sends all messages in the client language. If the player changes the language during the game, he will have to reconnect to the server, since the language is checked once upon connection.

An example of a situation in which this will be useful: a foreign player (for example, Russian) plays on a Chinese server. Naturally, it will be more convenient for the Russian player if all messages from several dozen mods are displayed on the client in his native language, and not in the server language (Chinese).

P.S. I hope that something can be done about it. But in any case, thanks for your time.

WorldGuard

Problem with WorldGuard plugin
Work fine on Spigot, but on Mohist :(
[11:33:43] [Server thread/ERROR] [Mohist]: Error occurred while enabling WorldGuard v6.2.2-SNAPSHOT;8eeab68 (Is it up to date?) java.lang.NoClassDefFoundError: com/sk89q/bukkit/util/CommandsManagerRegistration at com.sk89q.worldguard.bukkit.WorldGuardPlugin.onEnable(WorldGuardPlugin.java:171) ~[?:?] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:177) ~[JavaPlugin.class:0615411] at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:327) [JavaPluginLoader.class:0615411] at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:399) [SimplePluginManager.class:0615411] at org.bukkit.craftbukkit.v1_12_R1.CraftServer.enablePlugin(CraftServer.java:466) [CraftServer.class:0615411] at org.bukkit.craftbukkit.v1_12_R1.CraftServer.enablePlugins(CraftServer.java:407) [CraftServer.class:0615411] at net.minecraft.server.MinecraftServer.func_71247_a(MinecraftServer.java:393) [MinecraftServer.class:?] at net.minecraft.server.dedicated.DedicatedServer.func_71197_b(DedicatedServer.java:321) [nz.class:?] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:599) [MinecraftServer.class:?] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_231] Caused by: java.lang.ClassNotFoundException: com.sk89q.bukkit.util.CommandsManagerRegistration at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:118) ~[PluginClassLoader.class:0615411] at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:87) ~[PluginClassLoader.class:0615411] at java.lang.ClassLoader.loadClass(ClassLoader.java:418) ~[?:1.8.0_231] at java.lang.ClassLoader.loadClass(ClassLoader.java:351) ~[?:1.8.0_231] ... 10 more

[Error] GriefDefender + FAWE/WE

Hey, with GriefDefender (world protection plugin + players claims) the plugin can save claim into schematic and rollback them with the state at creation when we abandon the claim
It use WE function for that, but its seems there is an error when the schematic is rollback, and im pretty sure it was working in 238c25d build
I'm using latest (17c9f3b)
Log : https://gist.github.com/Flashback083/fc40bfbb9b8578077354da51c804ed84
im not sure if its really a WorldEdit issue, but yeah, i prefer to let you know
Thanks for the help !

库文件下载地址失效

第一次启动服务器,没有库文件,自动下载报错如下:
`检测到你的库文件存在新版本或者不存在,即将自动下载......

请在库文件获取完毕后, 重启服务器
java.net.UnknownHostException: mohist-community.gitee.io
at java.net.AbstractPlainSocketImpl.connect(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at sun.security.ssl.SSLSocketImpl.connect(Unknown Source)
at sun.net.NetworkClient.doConnect(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.protocol.https.HttpsClient.(Unknown Source)
at sun.net.www.protocol.https.HttpsClient.New(Unknown Source)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at java.net.HttpURLConnection.getResponseCode(Unknown Source)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(Unknown Source)
at red.mohist.down.Download.(Download.java:23)
at red.mohist.down.DownloadLibraries.run(DownloadLibraries.java:26)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Exception in thread "pool-1-thread-1" java.lang.RuntimeException: libraries.zipThe file indicated does not exist.
at red.mohist.down.DownloadLibraries.unZip(DownloadLibraries.java:35)
at red.mohist.down.DownloadLibraries.run(DownloadLibraries.java:28)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)`
直接用浏览器访问mohist-community.gitee.io返回404。

1.12.2 FirstAid Bug

FirstAid does not work properly with pvp being set to false. The player doesn't officially die, but FirstAid registers it properly then glitches the player out. Seems to work fine with Forge and Sponge

Vanilla Recipes not working

When i updated to Mohist-88a5645-server from Mohist-1.0-faaaa38-universal, all vanilla recipes (not edited by CraftTweaker) did not work (show on client side, but did not work on server side.
No errors on console/log.
latest.log

/island command for Skyblock Modpacks does not work.

As the title says, the /island command does not work on skyblock packs and it just outputs "You do not have permission to do that!" when I try and do it, but it works if I am OP'd the mod that provides /island does not have any permission nodes tho.

Build 125 - Broken!

In the last build, interactions with tablets and a lot of other things broke ... I rolled back to # 124

The functionality of many blocks broke, for example, seedlings break when planting. Also the ChestShop plugin does not work (interaction with the sign)

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.