Admin Condition
Check whether the target player is OP, has a specific name, or is in a specific gamemode.
GooPAdmin{}
To make very niche easter-egg effects when a skill is used by or on a particular player, actually.
Tips
Can check that a player is in survival or adventure before running GooP Grief in a skill that mines terrain.
Make skills that only target specific players (by name, I mean). It's really funny to make special sparkles official sometimes.
Simple Examples:
TargetConditions:
#- entitytype{t=PLAYER}
- GooPAdmin{bgm=CREATIVE,SPECTATOR}
Skills:
- sudoskill{s=Apply_Poison}
TThis will not 'apply poison' to players in creative or spectator modes. The GooPAdmin condition also fails if the target is not a player, making the check for 'entitytype{t=PLAYER}' redundant.
Conditions:
- GooPAdmin{gm=SURVIVAL,CREATIVE}
The caster must be a player in survival or creative mode for the mythic skill to proceed.
Conditions:
- GooPAdmin{op=TRUE,bgm=ADVENTURE}
The caster must be a server operator who is not in adventure mode to satisfy this condition
TargetConditions:
- GooPAdmin{name=cocopad,atuosto,gunging} false
This skill will never target players cocopad, gunging, or atuosto.
Comment from the Dev:
Originally created to make a powerful dagger that would "backstab" admins in creative mode, turning them back into survival mode and disabling flight and godmode, because a particular member of our team kept engaging in unfair PvP with the players and needed a nerf.