Restrict party name

bWolfie

I'm the man
Messages
850
Points
0
Location
Alberta, Midgard
Github
bWolfie
Emulator
Sorry for always asking many questions.

Is it possible to restrict certain party names from being made?
E.g. if a player tries to make a party called "My Party" through @party or /organize it will always be rejected (even if this party doesn't exist).

Thanks

 
It is possible. On map/party.c you can try to modify the contents of function party_create

Find:

int party_create(struct map_session_data *sd, const char *name,int item,int item2)

 
Last edited by a moderator:
Back
Top