Skip to content

Featured Replies

if(player.getKarma() <0 && Config.PROTECTOR_PLAYER_PK||player.getKarma() >0 && Config.PROTECTOR_PLAYER_PK||player.getKarma() == 0 && Config.PROTECTOR_PLAYER_PK||player.getPvpFlag() != 0 && Config.PROTECTOR_PLAYER_PVP)

 

how to change it so

 

it will kill people with karma & flag 

people with white name (no flag,pk) to not get killed

 

i tried everything please help..

if((player.getKarma() <0 || player.getPvpFlag() != 0) && Config.PROTECTOR_PLAYER_PK)

...

 

Post full code, since I dont rly get your config.

 

@Wolf

 

> 0 you mean.

 

 

pvpflag is eather 0 or 1 so his way could work

yes true i didnt had coffe this morning so its:

if((player.getKarma() >0 || player.getPvpFlag() != 0) && Config.PROTECTOR_PLAYER_PK)

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.