Player Function (simple parsing shortcut) #4007
Replies: 4 comments 6 replies
-
In my opinion, I think that this is nice but unnecessary. If player's want this, they could add the function themselves. If we added this, then adding functions for every type would make more sense. It's also useless because Pyon said we might be removing functions, and just having custom syntax. It's also just as much typing as |
Beta Was this translation helpful? Give feedback.
-
This can be useful for many, I myself use |
Beta Was this translation helpful? Give feedback.
-
The function is very ambiguous since there is offlineplayers. What happens if the player isn't online? It just returns nothing? Will you need to have offlinePlayer("Notch")? I think |
Beta Was this translation helpful? Give feedback.
-
I think this is a good idea, but since the current plan is to slowly replace functions as a concept (with reflect-like custom syntax I believe), I also think it'd be better to have syntax like |
Beta Was this translation helpful? Give feedback.
-
This discussion is to suggest the introduction of a player function, which basically could be used as a shortcut for parsing.
Simply enter a player's name or uuid, and it will return a player object (or possible an offline player object if said player is not online)
ie:
or
Beta Was this translation helpful? Give feedback.
All reactions