GlowstoneMC / Glowstone-Legacy

An open-source server for the Bukkit Minecraft modding interface
Other
363 stars 122 forks source link

Gamemodes 4-Infinity do not exist #565

Closed turt2live closed 7 years ago

turt2live commented 9 years ago

But they do in Glowstone!

/gamemode 9 -> Survival mode (can be any number ![0-3])

bendem commented 9 years ago

I'd say this is intended seeing the bukkit side.

maxov commented 9 years ago

I tested this in vanilla and it works the same way. Gamemodes 4-infinity all point to gamemode 0(Survival).

turt2live commented 9 years ago

I didn't get that behaviour, I got a rejection message

maxov commented 9 years ago

I am using MC version 1.8.1 on a creative world with commands enabled. The 'rejection message' of <player> already has game mode 0 means that MC treats other gamemodes > 3 like gamemode 0, unless you are getting a different message.

turt2live commented 9 years ago

Testing 1.8.1 is kinda counter productive as Glowstone is 1.8.0, but either way:

When I tested it on a Mojang 1.8.0 server in creative mode as an operator I received a rejection message for trying to set my gamemode to 4, my gamemode was not set to survival.

maxov commented 9 years ago

You're right. For reference, this is what the gamemode messages look like: gamemodes.

turt2live commented 9 years ago

I'm still undecided if it's really an issue, I just opened the ticket cause it doesn't match.

turt2live commented 9 years ago

Paging @SpaceManiac for comment on whether this is valid as a ticket

SpaceManiac commented 9 years ago

The issue is minor, but I'd say it stands. Really it's just GameModeCommand that needs to get updated. Probably a case for "spectator" should be added to the command as well.

turt2live commented 9 years ago

If that's the case, then I suggest this as a proposed solution. The error message differs, but I don't feel as though we need to be as explicit with this particular command.

( ref: e467a733b15b16050fbb52516de6cab49d9ef264 )

turt2live commented 7 years ago

Closing this to clean up my issues list on Github. If this is still an issue, please port it over to https://github.com/GlowstoneMC/Glowstone