Help with writing global pvp and access switches.
That is, I need the commands:
/globalpvp on - and players can fight
/globalpvp off - and the players can not fight
/globalaccess on - players can log on to
/globalaccess off - players can not log on to
With regard to access: probably need to return true in the method OnLogin, if set the switch /globalaccess off (if isGlobalAccess == false)
As for the pvp no ideas.
That is, I need the commands:
/globalpvp on - and players can fight
/globalpvp off - and the players can not fight
/globalaccess on - players can log on to
/globalaccess off - players can not log on to
With regard to access: probably need to return true in the method OnLogin, if set the switch /globalaccess off (if isGlobalAccess == false)
As for the pvp no ideas.