小任君呀 发表于 2024-7-26 09:22:40

【1.21-1.16】UltraStaff——增加一些管理员命令


[*]这个插件处于测试阶段,如果有问题就告诉作者,以便作者修复它

特点







[*]多版本(1.16-1.20)。
[*]StaffMode。
[*]隐身(启用/禁用)。
[*]飞行
[*]查看玩家物品栏.
[*]传送到随机玩家。
[*]冻结玩家
[*]Freeze
[*]完全可定制的消息。
[*]完全可定制的害怕配置。
[*]管理员聊天。
[*]Discord 集成。
[*]举报系统(BETA)
[*]聊天模块
[*]更多即将推出...



指令​







[*]/staffmode:启用或禁用 staffmode
[*]/vanish:启用或禁用消失模式
[*]/freeze (player):冻结播放器
[*]/fly :启用或禁用飞行模式
[*]/s <player>:将玩家传送到您的位置
[*]/invsee <player>:打开玩家的库存
[*]/staffchat [消息]:启用或禁用 staffchat
[*]/chat [清除/静音]:静音或清除聊天
[*]/report: 举报玩家
[*]/reports (player/discard): 管理玩家或discard报告

权限​







[*]ultrastaff.staffmode
[*]ultrastaff.vanish
[*]ultrastaff.vanish.bypass
[*]ultrastaff.staffchat
[*]ultrastaff.invsee
[*]ultrastaff.reports
[*]ultrastaff.reports.alerts
[*]ultrastaff.fly
[*]ultrastaff.fly.others
[*]ultrastaff.freeze
[*]ultrastaff.s
[*]ultrastaff.chat.mute
[*]ultrastaff.chat.clear
[*]ultrastaff.chat.mute.bypass

默认配置



#
#██╗░░░██╗██╗░░░░░████████╗██████╗░░█████╗░░██████╗████████╗░█████╗░███████╗███████╗
#   ██║░░░██║██║░░░░░╚══██╔══╝██╔══██╗██╔══██╗██╔════╝╚══██╔══╝██╔══██╗██╔════╝██╔════╝
#   ██║░░░██║██║░░░░░░░░██║░░░██████╔╝███████║╚█████╗░░░░██║░░░███████║█████╗░░█████╗░░
#   ██║░░░██║██║░░░░░░░░██║░░░██╔══██╗██╔══██║░╚═══██╗░░░██║░░░██╔══██║██╔══╝░░██╔══╝░░
#   ╚██████╔╝███████╗░░░██║░░░██║░░██║██║░░██║██████╔╝░░░██║░░░██║░░██║██║░░░░░██║░░░░░
#   ░╚═════╝░╚══════╝░░░╚═╝░░░╚═╝░░╚═╝╚═╝░░╚═╝╚═════╝░░░░╚═╝░░░╚═╝░░╚═╝╚═╝░░░░░╚═╝░░░░░
#
#Plugin created by LostString
#UltraStaff: Version 1.6.1-SNAPSHOT
config:
staffchat_format: "&7[&bStaffChat&7] &a%player_name% &7>> &9%message%"
staffchat_format_discord: "&7[&bStaffChat&7] &0(&3Discord&0) &a%player_name% &7>> &9%message%"
execute_command_on_disconect_frozen: true
frozen_disconnect_command: "ban %player% Refuse SS"
freeze_cooldown: 10 # cooldown to send "alertfrozen" message in seconds
alerts:
    disabled_worlds:
   - "mines"
      - "spawn"
    # List of blocks that will alert the staff. You can get the blocks from: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Material.html
    blocks:
   - "DIAMOND_ORE"
      - "GOLD_ORE"
      - "IRON_ORE"
      - "EMERALD_ORE"
# if is enabled, players in vanish can't break/place/drop/pickup blocks
vanish_restrictions: true
report_system: true
staffmode:
   # if is enabled, players in staffmode can't break/place/drop/pickup blocks
    restrictions: true
    items:
      invsee:
      enabled: true
      item: "CHEST"
      data: 0
      name: "&bInvsee"
      slot: 0
      lore:
         - "&bSee player inventory"
      freeze:
      enabled: true
      item: "ICE"
      data: 0
      name: "&bFreeze"
      slot: 1
      lore:
         - "&aFreeze a player"
      # Require world edit
      world_edit:
      enabled: true
      item: "WOODEN_AXE"
      data: 0
      name: "&cWorld edit"
      slot: 2
      lore:
         - "&cWorldEdit axe"
      navigator:
      enabled: true
      item: "COMPASS"
      data: 0
      name: "&bNavigator"
      slot: 3
      lore:
         - ""
      randomtp:
      enabled: true
      item: "ENDER_PEARL"
      data: 0
      name: "&9Random TP"
      slot: 5
      lore:
         - "&cTeleport to a random player"
      fly:
      enabled: true
      item: "FEATHER"
      data: 0
      name: "&3Fly"
      slot: 6
      lore:
         - "&aEnable &bor &cDisable &bfly"
      vanish:
      enabled: true
      item: "GREEN_DYE"
      item_disabled: "RED_DYE"
      data: 0
      name: "&5Vanish"
      slot: 7
      lore:
         - "&aEnable &bor &cDisable &bvanish"
      cpscheck:
      enabled: true
      item: "CLOCK"
      data: 0
      name: "&aCPS Check"
      slot: 8
      lore:
         - "&bCheck the cps of a player"
discord:
    enabled: false
    token: "YourBotToken"
    status: "ONLINE"
    activity:
      name: "Minecraft"
      ## types: DEFAULT, WATCHING, COMPETING, LISTENING
      type: "DEFAULT"
    staffchat: "CHANNEL ID"
    staffchat_discord_format: "**STAFF** %player% >> %message%"
    logs_channel: "CHANNEL ID"
    reports_channel: "CHANNEL ID"
    send_logs:
      commands: true
      join: true
      leave: true
      report: true
    Report:
      title: "New Report"
      description: ""
      color: "#FFFFF"
      footer:
      text: "Powered by: UltraStaff"
      icon_url: "https://images-ext-2.discordapp.net/external/iSa8LgfhP5WXg3eMNgPpT3Dfy0zGuGsuC0wBYeh0cQM/https/cdn.discordapp.com/avatars/1087081180312109107/a499774dcbd4c15d7a735da8da505cce.png"
      fields:
      - name: "Player:"
          value: "%player%"
          inline: false
      - name: "Reported:"
          value: "%reported%"
          inline: false
      - name: "Reason:"
          value: "%reason%"
          inline: false
      - name: "Date:"
          value: "%date%"
          inline: false
    Joinlog:
      title: "Join log"
      description: ""
      color: "#FFFFF"
      footer:
      text: "Powered by: UltraStaff"
      icon_url: "https://images-ext-2.discordapp.net/external/iSa8LgfhP5WXg3eMNgPpT3Dfy0zGuGsuC0wBYeh0cQM/https/cdn.discordapp.com/avatars/1087081180312109107/a499774dcbd4c15d7a735da8da505cce.png"
      fields:
      - name: "Log:"
          value: "%player% has joined to the server"
          inline: false
    Leavelog:
      title: "Leave log"
      description: ""
      color: "#FFFFF"
      footer:
      text: "Powered by: UltraStaff"
      icon_url: "https://images-ext-2.discordapp.net/external/iSa8LgfhP5WXg3eMNgPpT3Dfy0zGuGsuC0wBYeh0cQM/https/cdn.discordapp.com/avatars/1087081180312109107/a499774dcbd4c15d7a735da8da505cce.png"
      fields:
      - name: "Log:"
          value: "%player% has leaved to the server"
          inline: false
    Commandlog:
      title: "Command log"
      description: ""
      color: "#FFFFF"
      footer:
      text: "Powered by: UltraStaff"
      icon_url: "https://images-ext-2.discordapp.net/external/iSa8LgfhP5WXg3eMNgPpT3Dfy0zGuGsuC0wBYeh0cQM/https/cdn.discordapp.com/avatars/1087081180312109107/a499774dcbd4c15d7a735da8da505cce.png"
      fields:
      - name: "Log:"
          value: "%player% has used a command"
          inline: false
      - name: "Command:"
          value: "%command%"
          inline: false



页: [1]
查看完整版本: 【1.21-1.16】UltraStaff——增加一些管理员命令