GlowstoneMC / Glowstone

A fast, customizable and compatible open source server for Minecraft: Java Edition
https://glowstone.net
Other
1.9k stars 273 forks source link

Cannot exit fly and other world issues #457

Closed mghost99 closed 3 years ago

mghost99 commented 7 years ago

Hello i am having some issues already unfortunately.. I just started using this today and i cannot seem to fly without getting stuck in the air. I also have a plugin that cannot register PlayerDeathEvent (i have source to it so if i need, i'll fix it). Other than that once i'm flying, i cannot exit fly and i tend to fly up into the air? Mobs/Animals do not move but they continuously look at me.. The server is also a bit sluggish compared to the spigot jar but i'm not sure if that's just the commands i used to start it or if Windows makes it that way.

I copied the worlds over to the Spigot server and i am still stuck in the air oddly enough.. The mobs move tho.

So far aside from those issues i only have 2 plugins that died and one that half works with no errors.

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/44327796-cannot-exit-fly-and-other-world-issues?utm_campaign=plugin&utm_content=tracker%2F14691067&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F14691067&utm_medium=issues&utm_source=github).
mastercoms commented 7 years ago

Try removing playerdata from the world folder to another folder fix the flying problem. If this works, it would be awesome if you could send us the playerdata so we can investigate this issue.

What is the error for registering PlayerDeathEvent? And what do you mean by registering it?

There is no mob pathfinding yet so mobs won't move. But that is being worked on this month.

What is your start script and computer's specs? Also, what is sluggish about Glowstone? Anything specific or is everything lagging?

And about the plugins that don't work, can you give us their names and the errors in the log?

katlyn commented 7 years ago

The flying thing may be a new issue. However, mob AI is not completely implemented yet, but is in the works. See #396 for progress on this. mastercoms Commented while I was writing.

mghost99 commented 7 years ago

Ok thanks!!

mghost99 commented 7 years ago

@mastercoms Removing playerdata works. The sluggish part i'm not sure what's causing it. Locations update just fine tho. And the plugins ProtocolLib and SilkSpawners fail to load but WorldEdit will not allow tool brushes.

And for my specs (if that's what you mean) Intel Core i7 2.4GHz, 16GB RAM, 4GB Video Memory (Intel HD 4600 + nVidia GeForce 740M) and i run at almost 300 FPS on Minecraft.

For the server i allocated 3GB of ram. Also i should add that ticks per/s is always 20. Commands are very snappy but some server aspects are a bit sluggish in some areas. Now for WorldEdit, you can fill and wand things and it doesn't lag a bit. I edited 1 billion blocks and it didn't even lag miraculously (one thing Spigot can't do on my system).

It won't let me attach the playerdata or the zip file i made so i just uploaded it to my domain. http://g-h-o-s-t.pw/mc/glowstone/world.zip

mastercoms commented 7 years ago

ProtocolLib and SilkSpawners use internal Minecraft code which isn't in Glowstone, so that's why they don't work. The ProtocolLib is investigating Glowstone support, but for SilkSpawners, I would contact the developer and see if they can support Glowstone. Some WorldEdit features are not available when the server does not have internal Minecraft code. Maybe see if the WorldEdit developer can add support for Glowstone.

Are you running the server on that computer? If so, your specs seem fine. What script are you using to start the server? Do you only have memory set or do you have additional stuff?

And could you give some examples of what is sluggish?

aramperes commented 6 years ago

Closing due to inactivity. As far as I know, the sluggish-ness problem was never reported by anyone else.

mastercoms commented 6 years ago

The cannot exit fly issue is valid and is reproducible for me.

aramperes commented 6 years ago

Is it only reproducible when plugins toggle flying? I can exit flying just fine in Creative mode

mastercoms commented 6 years ago

With a Mojang server generated map?

aramperes commented 6 years ago

Yes, I tried the following: