Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

change attributes of player spigot

import org.bukkit.entity.Player;
import org.bukkit.attribute.Attribute;

Player player;
player.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(aDouble);
 
PREVIOUS NEXT
Tagged: #change #attributes #player #spigot
ADD COMMENT
Topic
Name
6+7 =