• 注册
  • 服务器&插件 服务器&插件 关注:9 内容:9952

    LobbyPresents (大堂礼物-[圣诞季节的有趣插件])

  • 查看作者
  • 打赏作者
  • 当前位置: SodaMC > 服务器&插件 > 正文
  • 潮涌核心
    反派

    LobbyPresents (大堂礼物-[圣诞季节的有趣插件])

    LobbyPresents是一个在圣诞季节使用的有趣插件。玩家可以在地图中找到 礼物 并累积。找到礼物时可以得到奖励。管理员可以通过命令获得礼物头颅。支持uuid、mysql、placeholderAPI。

    配置

    MYSQL:
      Enable: false
      host: 'localhost'
      port: '3306'
      database: 'LobbyPresents'
      table_name: 'presents'
      username: 'root'
      password: '123'
      Effect:
        distance: 5
        ticks: 40
        canclaim: VILLAGER_HAPPY
        claimed: CRIT
      Messages:
        found: "&a发现了一个礼物! &e(&b%found%&e\/&b%total%&e)"
        alreadyfound: "&c已经发现过!"
        completed: "&b圣诞快乐!! &c(&a%found%&f\/&a%total%&c)"
        actionbar: "&b&lLobby Presents &c(&a%found%&f\/&a%total%&c)"
        actionbar-completed: "&b&lLobby Presents &a&l已完成!&f &c(&a%found%&f\/&a%total%&c)"
      Actionbar:
        enable: false
      Sounds:
        found: LEVEL_UP
        alreadyfound: CREEPER_DEATH
      Max: 5
      Rewards:
        '1': 'say hi%player%,say Good %player%'
        '2': 'say hi%player%,say Good %player%'
        '5': 'say hi%player%,say Good %player%'
      loc:
        '1':
          w: worldname
          x: -0
          y: 0
          z: 0
        '2':
          w: worldname
          x: -0
          y: 0
          z: 0
        '3':
          w: worldname
          x: -0
          y: 0
          z: 0
        '4':
          w: worldname
          x: -0
          y: 0
          z: 0
        '5':
          w: worldname
          x: -0
          y: 0
          z: 0
      data: 
        user: u-u-i-d: 1,2,3,4
    

    命令

    权限:lobbypresents.admin
    - /lps help {page}
    - /lps list
    - /lps set {id}
    - /lps remove {id}
    - /lps reward
    - /lps reward settype {Sequence/Custom/Both}
    - /lps reward setsequence {sequence} {none/cmd1,cmd2,...}
    - /lps reward setcustom {id_presents} {none/cmd1,cmd2,...}
    - /lps heads
    - /lps reload
    - /lps clearuserdata {playername}
    - /lps checkversion
    

    事件

    PlayerClickClaimedPresentEvent Code (Java):
    @EventHandler
    public void onPlayerClickPresents(PlayerClickClaimedPresentEvent e){}
    

    代码

    Config.yml Code (YAML):
    MYSQL:
      Enable: false
      host: 'localhost'
      port: '3306'
      database: 'LobbyPresents'
      table_name: 'presents'
      username: 'root'
      password: '123'
      Effect:
        distance: 5
        ticks: 40
        canclaim: VILLAGER_HAPPY
        claimed: CRIT
      Messages:
        found: "&aYou found a present! &e(&b%found%&e\/&b%total%&e)"
        alreadyfound: "&cFound already!"
        completed: "&bMerry Christmas!! &c(&a%found%&f\/&a%total%&c)"
        actionbar: "&b&lLobby Presents &c(&a%found%&f\/&a%total%&c)"
        actionbar-completed: "&b&lLobby Presents &a&lCompleted!&f &c(&a%found%&f\/&a%total%&c)"
      Actionbar:
        enable: false
      Sounds:
        found: LEVEL_UP
        alreadyfound: CREEPER_DEATH
      Max: 5
      Rewards:
        '1': 'say hi%player%,say Good %player%'
        '2': 'say hi%player%,say Good %player%'
        '5': 'say hi%player%,say Good %player%'
      loc:
        '1':
          w: world
          x: -103
          y: 64
          z: 431
        '2':
          w: world
          x: -102
          y: 64
          z: 431
        ...
      data:
        uuid:
          uuiduuiduuiduuid: 1,2,3,4
    
    LobbyPresents (大堂礼物-[圣诞季节的有趣插件])

    LobbyPresents (大堂礼物-[圣诞季节的有趣插件])

    可用版本为:|1.8|1.9|1.10|1.11|1.12|1.13

    源站下载
    登录后前往SPIGOT

  • 收录

  • 请登录之后再进行评论

    登录
  • Soda任务 图片
  • 偏好设置
  • 主题
  • 帖子间隔 侧栏位置: