Stargate Rewritten

Stargate Rewritten

241 Downloads

Incorrect Translatable Message [TMS 222189]

Pheotis opened this issue · 4 comments

commented

When a player lacks the sg.create.network.custom. permission
And tries to create a portal on the custom network,

They receive faultExists.
This should result in faultNetwork.

(If they create the same portal with the required permissions, it will work as intended)
image

commented

If the player lacks permission to create in a custom network, it will try to create it in a personal network, Are you sure you did not have a duplicate named portal in the personal network.

If the player has the ´sg.admin.bypass.private´ node, then it will create it in a personal network for the player with the same name as the custom network name.

Could you try to replicate this in a new world with nothing else in it? (I don't get similar behavior)

commented

So maybe have a message tells you this (but better worded)

[Stargate] You're lacking perms to create network ({netname}), changing to it's personal equivalent

commented

That makes sense; given that I was numbering portals, there was almost certainly a duplicate gate on the personal network.
This behaviour is intended... that said, it is not intuitive per se.

Might be worth improving the message received.
Do you think we could do three messages, all as errors?

faultNetwork followed by gateCreatePersonal followed by faultExists?
(faultExists can be omitted whenever there is not a duplicate gate on the personal network).

commented

how about gateCreateFallback "Unable to create your gate on the %network% network; trying your personal network instead!"?