Icon

AFKRewardsLite——让挂机也有奖励

SpigotMC 玄易同志 2024-03-23
资源介绍
中文汉化

PLAINTEXT
# DOCS BEGIN #
# Commands:
#  - /tafk <wand/save/reload/item> (aliases: /afk)
#  - /silentgive {player} <item> <amount>(optional, by default it's 1)
#    -> (if you use this inside commands to give to afk players, you can even give NBT items too!)
#    -> (if you want to give custom items from the items(configuration section) you will need to put the name inside { }
#    -> e.g.: /sgive {player} {test3} 2
# DOCS END #

# Update Settings
# wg_region: afk THIS IS NOT FOR USE
check_for_update: true # 若发布了关于spiot的新更新,您将在控制台和ingame中收到一条消息
use_probability_feature: false # 启用每个区域的概率功能
use_random_feature: false # 启用50/50功能
use_commands: true # 启用经典功能
reward_synchronization: false # 仅使用默认时间
how_often_all_players_and_region_checked: 1 #控制检查所有玩家和区域的频率(默认值:1秒)
default_afk_time: 1200 # 默认AFK时间(秒)

#基于权限的AFK时间
afk_times:
  vip: 30
  default: 1200 # 默认AFK时间(秒)

# Region Configuration
region:
  locations:
    world: world
    loc1: # Location 1 coordinates
      x: 68.0
      y: 63.0
      z: -332.0
    loc2: # Location 2 coordinates
      x: 73.0
      y: 70.0
      z: -337.0

# MESSAGES AND SOME CONFIGURATIONS ABOUT REGION
placeholder_not_in_afk_region: 不在AFK区域
silent_player_inventory_full: '&c您的背包已满,因此您将不会收到任何东西!'
player_entered_region: '&c您已进入 AFK 区域!'
player_left_region: '&c您已离开 AFK 区域!'
show_xp_bar: true # When player is inside the region, it will show the XP bar (BETA)
save_xp_inside_region: false
timeout:
  times: 0 # put 0 to not use this feature
  commands:
  - msg {player} you have been teleported back to spawn!
# - "tp {player} -2217 94 -490"

actionbar:
  show: false
  show_timer: true
  messages:
    sg_day: ' day, '
    pl_day: ' days, '
    sg_hour: ' hour, '
    pl_hour: ' hours, '
    sg_minute: ' minute, '
    pl_minute: ' minutes, '
    0_seconds: ' Resetting!'
    sg_second: ' second.'
    pl_second: ' seconds.'
    before_msg: '{player} >> time left >> '

loading_screen: # To use this, put {loadingScreenBar} or {loadingScreenPercentage}
  totalTiles: 10
  symbol: '|'
  loading_color: '&7'
  loading_complete: '&a'

bossbar: # The bossbar will automatically update if you use the command /afk bossbar ...
  show: false
  color: RED
  style: SOLID
  text: Idk # Put {timer} if you'd like the exact same text from actionbar

title_screen:
  show: true
  title: '&7[{loadingScreenBar}&7]'
  subtitle: '&c{loadingScreenPercentage}%'

commands: # Silent commands: use sgive to give players items without showing anything in console
  - msg {player} you were afk!
  - eco give {player} 100
# - "silentgive {player} {test3}"

random_commands:
  times: 2 # How many times should the algorithm shuffle and give 1 command from the list
  list:
    test1:
    - msg {player} this is test1
    - msg {player} random 1
    test2:
    - msg {player} this is test2
    - msg {player} random 2
    test3:
    - msg {player} this is test3
    - msg {player} random 3

probability_commands:
  first_prob:
    commands:
    - msg {player} first_prob
    - msg {player} 50%
    chance: 50.0
  second_prob:
    commands:
    - msg {player} second_prob
    - msg {player} 35%
    chance: 35.0
  third_prob:
    commands:
    - msg {player} third_prob
    - msg {player} 15%
    chance: 15.0

on_command_deny: '&cYou cannot use this command here'
denied_commands: # you can only deny commands here, not events...
  - /shop

items:
  test3:
    ==: org.bukkit.inventory.ItemStack
    v: 3465
    type: STONE_AXE
    meta:
      ==: ItemMeta
      meta-type: UNSPECIFIC
      display-name: '{"extra":[{"italic":false,"color":"red","text":"TESTING"}],"text":""}'
      Unbreakable: true
  xwe:
    ==: org.bukkit.inventory.ItemStack
    v: 3465
    type: DIAMOND_SWORD
    meta:
      ==: ItemMeta
      meta-type: UNSPECIFIC
      lore:
      - '{"italic":false,"color":"gray","text":"Famished I"}'
      - '{"italic":false,"color":"gray","text":"Angel I"}'
      - '{"italic":false,"color":"gray","text":"AutoSmelt I"}'
      Damage: 29
      PublicBukkitValues:
        crazyenchantments:crazyenchants: '{"enchants":{"Angel":1,"Famished":1,"AutoSmelt":1}}'
资源操作
前往下载
将跳转至进入云盘/官网下载!请知晓
作者信息
Avatar
玄易同志

网站的个人号~