Solved Food generate

Discussion in 'Plugin Help/Development/Requests' started by SuperGamesBros, Jan 25, 2015.

Thread Status:
Not open for further replies.
  1. Offline

    SuperGamesBros

    Do anyone knows how my players can lose hunger only in Hunger Games?
     
  2. Offline

    Ambamore2000

    Worldguard. Google 'How to disable hunger with worldguard'
     
  3. Offline

    8jy89hui

    1: (Never tried this. May work.)
    Code:
    Player.setFoodLevel(20)
    2: (Add potion effect Saturation for 0 ticks with a power of 40)
    Code:
    Player.addPotionEffect(new PotionEffect(
                    PotionEffectType.SATURATION, 0, 40));
     
Thread Status:
Not open for further replies.

Share This Page