Sueta

iAFK | AFK players can also get rewards

0.2

Support multiple rewards | Multiple AFK areas | Player AFK head tag hologram

·Plugin


iAFK

—— AFK players can also get rewards ——

Features

  • Custom AFK rewards, reward content includes: console execution command, OP identity execution command, player identity execution command
  • Custom AFK reward cycle time
  • With or without holographic display on AFK: Requires HolographicDisplays or TrHologram
  • Custom holographic line and item
  • Language
  • Customize the area that allows AFK, you can have more areas: Residence is required

Image



Command & Permission

/iafk help 
  description:Look command help 
  permission:iafk.help 
/iafk on 
  description:start AFK 
  permission:iafk:iafk.use 
/iafk off 
  description:Stop AFK 
  permission:iafk:iafk.off 
/iafk reload 
  description:Reload plugin 
  permission:iafk:iafk.reload

Config

# 挂机区域  
 # AFK residence   
residence   : 
    # 是否启用只允许领地内挂机功能  
   # Whether to enable only the AFK function in the residence   
  enable   :  false 
   # 允许挂机的领地列表  
   # List of allowed AFK residence   
  list   : 
    -  "world_afk"  

 # 挂机时头顶全息  
 # Hologram overhead when AFK   
tag   : 
    # 是否启用  
   # Enable head tag Hologram?   
  enable   :  true 
   # 选择哪个全息插件,可选hd, tr  
   # Choose which holographic plugin, optional:hd, tr   
  lib   :  hd 
   # HolographicDisplays全息内容   
  hd   : 
      # 物品 如果报错,请更改物品材料  
     # item If wrong, please change the item material   
    item   :   "EXPERIENCE_BOTTLE"  
     # 文本内容,支持多行  
     # Text content, supports multiple lines   
    line   : 
      -  "&7&l[&c&l 挂机中 &7&l]"  
     # 高度  
     # Location Y   
    y   :  3.25 
   # TrHologram全息内容   
  tr   : 
      # 文本内容,支持多行  
     # Text content, supports multiple lines   
    line   : 
      -  "item:EXPERIENCE_BOTTLE"  
      -  "&7&l[&c&l 挂机中 &7&l]"  
     # 高度  
     # Location Y   
    y   :  2 

 # 关于挂机设置  
 # About AFK settings   
afk   : 
    # 每多少秒触发一次  
   # Every few seconds   
  time   :  10 
   # 奖励  
   # reward  
   # console 后台执行命令  
   # command_op 以OP身份执行命令  
   # command_player 以玩家身份执行命令  
   # exp 给予经验  
   # money 给予经济,需要Vault & 经验插件   
  reward   : 
    -  "console:say @player"  
    -  "command_op:give @player minecraft:apple"  
    -  "exp:1"  
     #- "command_player:..."

Similar projects

Plugin →