- /open, /openflags, /openweapons, /openchests, /openrights, etc.
- For instance, "Graal738535" is "Padfootian". /open Padfootian shows blank but /open Graal738535 works.
- I can't remember if server options accepts community names in staff= but if it doesn't, it should.
Server staff should not be shown "guest", instead they should be shown "pc:333333" in profiles and such. It is too difficult for GPs to catch hackers because "guest" is too generic and can apply to multiple players.
The function findplayerbycommunityname() adds unnecessary complexity by being an alternative to findplayer(). Instead, findplayer() should also check community names if the account name is not found first.
It should not be possible for a player to pick a community name like Graal333333.
player.communityname should never return NULL. It should return:
- The community name when it is set
- The account name (Graal333333) when it is not set
- Maybe "Guest333333" for guests (where 333333 is the PC ID)? Not sure if this one is needed.
If telling whether the community name has been selected is a problem, it could be possible to provide a flag player.communitynamechosen, which does something like if (player.account.starts("Graal") && player.account
player.communityname)
This is so that scripts never display NULL and so that guest accounts can easily be identified by GPs and such (it is difficult for GPs to find hacker players because right-clicking the player to get the profile just shows "guest"). Nicknames are often too long to display and the guild tag is irrelevant.
There is one comment on this page. [Display comment]