@PK Command

Thyr

New member
Messages
78
Points
0
Github
warcraftfrozen
Simple, a custom command that enable the player to toggle the pk ON and OFF.

NOTE: this is for the server with a PK Mode set as 1 ( @ misc.conf)

Code:
// PK Server Mode.
//   Turns entire server pvp(excluding towns).
//   Experience loss is doubled if killed by another player.
//   When players hunt monsters over 20 levels higher, they will receive 15%
//   additional exp., and 25% chance of receiving more items.
//   There is a nopvp.txt for setting up maps not to have pk on in this mode.
//   Novices cannot be attacked and cannot attack.
//   Normal pvp counter and rank display are disabled as well.
// Note: If pk_mode is set to 2 instead of 1, players will receive a
//   manner penalty of 5 each time they kill another player (see manner_system
//   config to adjust how this will affect players)
pk_mode: 1
 
you want players to be able to toggle pk_mode for everyone or you want them to be able to opt-in to attacking and being attacked?

 
Player can turn off PK Mode for their own, not for everyone.

(If a player turned off PK Mode @pk offHe/She can't be attacked or He/She cannot attack enemies who are on PK Mode.)

Command will only be

  • @pk (on,off)
 
Back
Top