名副其实
1. Friends Premium

messages_spigot.yml
  1. # In this file you are able to edit all of the messages in this plugin!
  2. Messages:
  3.   NoPermissions: '%PREFIX% &c你不能执行该指令!'
  4.   NoPlayer: '%PREFIX% &c该命令仅能被玩家执行!'
  5.   DataNotReady: '%PREFIX% &c你的数据未被完全载入! 请在几秒之后重试..'
  6.   Commands:
  7.     WrongUsage: '%PREFIX% &c命令错误! -> %USAGE%'
  8.     UnknownCommand: '%PREFIX% &c未知命令! -> /friends help'
  9.     StatusCommand:
  10.       StatusLenght: '%PREFIX% &c你的状态不能长于 %LIMIT% 个字符!'
  11.       AbusivePhrase: "%PREFIX% &c你的状态包含非法字符! \n%PREFIX%\
  12.         \ &c修改后: &7%PHRASE%"
  13.       StatusSet: |-
  14.         %PREFIX% &a你的状态已被成功修改!
  15.         %PREFIX% &aStatus: &7``%STATUS%``
  16.       CantChangeYet: '%PREFIX% &c在 %REMAINING_TIME%
  17.         秒之后你才可以再次修改你的状态!'
  18.     NicknameCommand:
  19.       NickLength: '%PREFIX% &c昵称不能长于16字符!'
  20.       AbusivePhrase: "%PREFIX% &c你的昵称包含非法字符! \n%PREFIX%\
  21.         \ &c修改后: &7%PHRASE%"
  22.   GUI:
  23.     ToggleCooldown: '%PREFIX% &c该选项仅能在 3 秒后再次使用!'
  24.     NextPage:
  25.       NoMorePages: '%PREFIX% &c已经翻到底了!'
  26.     PreviousPage:
  27.       FirstPage: '%PREFIX% &c你已在第一页!'
  28. PartyMessages:
  29.   CreateOfflinemode: '%PREFIX% &c线下模式不能创建队伍!'
复制代码


config.yml
  1. #################################################################################################################################
  2. #                                                                                                                                                                                                                                                                #
  3. #        FriendsPREMIUM        MC1.8 - 1.12                                                                                                                                                                                                #
  4. #        Version 1.1.0        Made by: HyChrod (Flocrafter77)                                                                                                                                                                #
  5. #                                                                                                                                                                                                                                                                #
  6. #################################################################################################################################
  7. Friends:
  8.   Prefix: "&bFriends &7|"
  9.   CheckForUpdates: true
  10.   
  11.   # This changes the format of every date used in friends (e.g. 'friends since', 'last online')
  12.   # Year: 'yyyy', Month: 'MM', Day: 'dd', Hour: 'hh', Minute: 'mm', Second: 'ss'
  13.   DateFormat: "MM/dd/yyyy"
  14.   
  15.   FriendItemOptions:
  16.     KeepOnDeath: true
  17.   
  18.   # If this option is disabled, friends cannot hurt eachother
  19.   FriendsCanPvP: false
  20.   # If this option is enabled, you can hit someone with the friendshead and it will result in a friend-request beeing sent
  21.   HitToSendRequest: true
  22.   
  23.   # If you do not want to use any sounds, just set the sound to "" to remove it entirely!
  24.   Sounds:
  25.     PrivateMessage: "ANVIL_USE"
  26.     FriendRequest: "LEVEL_UP"
  27.     OpenInventory: "CHEST_OPEN"
  28.   
  29.   Status:
  30.     # You can toggle wether the status should be checked for abusive language phrases (defined in forbidden_phrases.txt)
  31.     EnableFilter: true
  32.     # This is the total lenght that is possible for setting a status
  33.     MaxLenght: 30
  34.     # This is the time players have to wait between changing their status
  35.     # Permission to avoid this timer: '- Friends.Status.ChangeLimit.ByPass'
  36.     ChangeDuration: 600
  37.     # Toggle wether you want players to use farbcodes in order to set a colored status!
  38.     AllowFarbcodes: false
  39.    
  40.   # If you enable Nicknames, players can give their friends a unique nickname!
  41.   # If enabled, you can use %REAL_NAME% as a placeholder to show a players real name
  42.   Nicknames:
  43.     Enable: true
  44.     # You can check given nicknames and block abusive words (defined in forbidden_phrases.txt)
  45.     CheckForAbusiveWords: true
  46.   
  47.   # This is the item which opens the friend-inventory on a rightclick!
  48.   FriendItem:
  49.     # If you disable the friend-item, the inventory can only be opend by using /friends
  50.     Enable: true
  51.     Name: "&a好友列表 &7(右键打开)"
  52.     ItemID: "397:3"
  53.     # You can split the lines by using '//'
  54.     Lore: "//&7右键该物品//&7打开朋友系统菜单!"
  55.     InventorySlot: 4

  56. #####################################################################################################################################
  57. #                                                                                                                                                                                                                                                                        #
  58. #        When editing the inventory, please make sure you set every '"' and only used valid item id's!                                                                        #
  59. #        ItemID-List: https://www.digminecraft.com/lists/item_id_list_pc_1_12.php                                                                                                                #                                                                       
  60. #                                                                                                                                                                                                                                                                        #
  61. #        Minor changes can already cause the plugin to not work!                                                                                                                                                        #
  62. #                                                                                                                                                                                                                                                                        #
  63. #####################################################################################################################################

  64.   # Decide wether you want players to use /friends to open up the GUI!
  65.   OpenGUIWithCommand: true
  66.   
  67.   FriendInventory:
  68.     InventoryTitle: "&a好友列表: (第 %PAGE% 页)"
  69.     # Available sizes are multiples of 9 up to 54
  70.     # [ 9, 18, 27, 36, 45, 54 ]
  71.     InventorySize: 54
  72.     # If you enable this option, the Next-/PreviousPageItem will only be shown, if you have more friends than can fit on one page
  73.     HidePageItemsWhenNotNeeded: false
  74.     FriendsItem:
  75.       OnlineStatus: "&a(在线)"
  76.       OfflineStatus: "&7(离线)"
  77.       Name: "&a%NAME% %ONLINE_STATUS%"
  78.       # Use %SERVER% to show the current server a player is on. Only available for bungeemode!
  79.       # Use %WORLD% to show the current world a player is on. Only available without bungeemode!
  80.       LoreOnline: "&7状态: //&r&f%STATUS%// //&7服务器: %SERVER%//&7成为好友日期: %DATE%"
  81.       LoreOffline: "&7状态: //&r&f%STATUS%// //&7最后在线: %LAST_ONLINE% 点//&7成为好友日期: %DATE%"
  82.       ChangeSkullWhenOffline: true
  83.       NoStatusReplacement: "-"
  84.       LastOnlineFormat: "MM/dd/yyyy - hh:mm"
  85.     RequestsItem:
  86.       ShowItem: true
  87.       Name: "&a请求"
  88.       ItemID: "388"
  89.       # 可使用 '//' 来换行
  90.       Lore: "&7当前请求: (%REQUESTS_COUNT%)"
  91.       InventorySlot: 47
  92.       # 若你想在菜单物品上使用自定义头颅, 可在设置末尾添加 Base64-Value: Base64代码
  93.       # Base64代码可在这里找到 https://minecraft-heads.com
  94.       # 填入不正确的代码将会显示为史蒂夫头颅!
  95.       Base64Value: ""
  96.     OptionsItem:
  97.       ShowItem: true
  98.       Name: "&3设置"
  99.       ItemID: "404"
  100.       # 可使用 '//' 来换行
  101.       Lore: ""
  102.       InventorySlot: 50
  103.       # 若你想在菜单物品上使用自定义头颅, 可在设置末尾添加 Base64-Value: Base64代码
  104.       # Base64代码可在这里找到 https://minecraft-heads.com
  105.       # 填入不正确的代码将会显示为史蒂夫头颅!
  106.       Base64Value: ""
  107.     SortItem:
  108.       ShowItem: true
  109.       Name: "&3分类:"
  110.       ItemID: "399"
  111.       # 可使用 '//' 来换行
  112.       Lore: "&r%SORTING%"
  113.       InventorySlot: 51
  114.       OnOffSorting: "&f在线/离线"
  115.       FavoriteSorting: "&f特别关心优先"
  116.       LongFriendSorting: "&f交友时间优先"
  117.       Alphabetic: "&r字符顺序优先"
  118.       # 若你想在菜单物品上使用自定义头颅, 可在设置末尾添加 Base64-Value: Base64代码
  119.       # Base64代码可在这里找到 https://minecraft-heads.com
  120.       # 填入不正确的代码将会显示为史蒂夫头颅!
  121.       Base64Value: ""
  122.     NextPageItem:
  123.       ShowItem: true
  124.       Name: "&b下一页"
  125.       ItemID: "262"
  126.       # 可使用 '//' 来换行
  127.       Lore: ""
  128.       InventorySlot: 54
  129.       # 若你想在菜单物品上使用自定义头颅, 可在设置末尾添加 Base64-Value: Base64代码
  130.       # Base64代码可在这里找到 https://minecraft-heads.com
  131.       # 填入不正确的代码将会显示为史蒂夫头颅!
  132.       Base64Value: "eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNjgyYWQxYjljYjRkZDIxMjU5YzBkNzVhYTMxNWZmMzg5YzNjZWY3NTJiZTM5NDkzMzgxNjRiYWM4NGE5NmUifX19"
  133.     PreviousPageItem:
  134.       ShowItem: true
  135.       Name: "&b上一页"
  136.       ItemID: "262"
  137.       # 可使用 '//' 来换行
  138.       Lore: ""
  139.       InventorySlot: 53
  140.       # 若你想在菜单物品上使用自定义头颅, 可在设置末尾添加 Base64-Value: Base64代码
  141.       # Base64代码可在这里找到 https://minecraft-heads.com
  142.       # 填入不正确的代码将会显示为史蒂夫头颅!
  143.       Base64Value: "eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMzdhZWU5YTc1YmYwZGY3ODk3MTgzMDE1Y2NhMGIyYTdkNzU1YzYzMzg4ZmYwMTc1MmQ1ZjQ0MTlmYzY0NSJ9fX0="
  144.     PartyItem:
  145.       ShowItem: true
  146.       Name: "&9你的队伍"
  147.       ItemID: "401"
  148.       # 可使用 '//' 来换行
  149.       Lore: ""
  150.       InventorySlot: 49
  151.       # 若你想在菜单物品上使用自定义头颅, 可在设置末尾添加 Base64-Value: Base64代码
  152.       # Base64代码可在这里找到 https://minecraft-heads.com
  153.       # 填入不正确的代码将会显示为史蒂夫头颅!
  154.       Base64Value: ""
  155.     Placeholders:
  156.       ItemID: "160:7"
  157.       # 若你想在菜单物品上使用自定义头颅, 可在设置末尾添加 Base64-Value: Base64代码
  158.       # Base64代码可在这里找到 https://minecraft-heads.com
  159.       # 填入不正确的代码将会显示为史蒂夫头颅!
  160.       Base64Value: ""
  161.       InventorySlots:
  162.       - 1
  163.       - 2
  164.       - 3
  165.       - 4
  166.       - 5
  167.       - 6
  168.       - 7
  169.       - 8
  170.       - 9
  171.       - 37
  172.       - 38
  173.       - 39
  174.       - 40
  175.       - 41
  176.       - 42
  177.       - 43
  178.       - 44
  179.       - 45
  180.       - 48
  181.       - 52
  182.     # In the following section you are able to create your own items, which can perform commands or just work as additional placeholders/design elements.
  183.     # To add a new item, just follow these format-rules:
  184.     # CustomItems:
  185.     #   CUSTOM_ITEM_<Number>:
  186.     #     Name: ""
  187.     #     Material: ""
  188.     #     Lore: ""
  189.     #     InventorySlot: 46
  190.     #     PerformCommand: <Command> | If you do not want to use a command just let it empty
  191.     #          Base64Value: ""
  192.     #          PlayerHead: false/true    | Set the skin of the player or not
  193.     CustomItems:
  194.       CUSTOM_ITEM_1:
  195.         Name: "&7关闭菜单"
  196.         ItemID: "322"
  197.         Lore: "&7This is a custom item, which can be//&7created and edited in the config.yml// //&7If you do not want to use this item//&7just remove it or change it to your needs."
  198.         InventorySlot: 46
  199.         PerformCommand: "friendsgui close"
  200.         Base64Value: "eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZjFmYWIwZTZhZWE4ODc0OGNhM2I1NTEyZWQ1MDJhNmQxOGU3NmQ4YWZjNDc3MGQ5OTUyMzNhYzBkYzUxODYifX19"
  201.         PlayerHead: false
  202.       
  203.   FriendEditInventory:
  204.     InventoryTitle: "&3%NAME%"
  205.     # Available sizes are multiples of 9 up to 54
  206.     # [ 9, 18, 27, 36, 45, 54 ]
  207.     InventorySize: 9
  208.     FavoriteItem:
  209.       ShowItem: true
  210.       Name: "&6Favorite"
  211.       ItemID: "322"
  212.       # 可使用 '//' 来换行
  213.       Lore: "&7当前: %FAVORITE_STATUS%"
  214.       InventorySlot: 6
  215.       FavoriteStatusOn: "&a开"
  216.       FavoriteStatusOff: "&c关"
  217.       # 若你想在菜单物品上使用自定义头颅, 可在设置末尾添加 Base64-Value: Base64代码
  218.       # Base64代码可在这里找到 https://minecraft-heads.com
  219.       # 填入不正确的代码将会显示为史蒂夫头颅!
  220.       Base64Value: ""
  221.     CanSendMessagesItem:
  222.       ShowItem: true
  223.       Name: "&6%NAME% 现在可以向你发送信息"
  224.       ItemID: "339"
  225.       # 可使用 '//' 来换行
  226.       Lore: "&7当前: %SENDMESSAGES_STATUS%// //&7该选项包括朋友聊天, 私聊信息//&7以及登入/登出提醒!"
  227.       InventorySlot: 5
  228.       SendMessagesStatusOn: "&a开"
  229.       SendMessagesStatusOff: "&c关"
  230.       # 若你想在菜单物品上使用自定义头颅, 可在设置末尾添加 Base64-Value: Base64代码
  231.       # Base64代码可在这里找到 https://minecraft-heads.com
  232.       # 填入不正确的代码将会显示为史蒂夫头颅!
  233.       Base64Value: ""
  234.     NicknameItem:
  235.       ShowItem: true
  236.       Name: "&6设置好友昵称"
  237.       ItemID: "421"
  238.       # 可使用 '//' 来换行
  239.       Lore: "&7当前: %NICKNAME%// //&3右键 &7清空昵称"
  240.       InventorySlot: 3
  241.       NoNicknameReplacement: "-"
  242.       # 若你想在菜单物品上使用自定义头颅, 可在设置末尾添加 Base64-Value: Base64代码
  243.       # Base64代码可在这里找到 https://minecraft-heads.com
  244.       # 填入不正确的代码将会显示为史蒂夫头颅!
  245.       Base64Value: ""
  246.     RemoveItem:
  247.       Name: "&c删除好友 %NAME%"
  248.       ItemID: "35:14"
  249.       # 可使用 '//' 来换行
  250.       Lore: ""
  251.       InventorySlot: 9
  252.       # 若你想在菜单物品上使用自定义头颅, 可在设置末尾添加 Base64-Value: Base64代码
  253.       # Base64代码可在这里找到 https://minecraft-heads.com
  254.       # 填入不正确的代码将会显示为史蒂夫头颅!
  255.       Base64Value: ""
  256.     BackItem:
  257.       Name: "&7返回至好友列表"
  258.       ItemID: "330"
  259.       # 可使用 '//' 来换行
  260.       Lore: ""
  261.       InventorySlot: 1
  262.       # 若你想在菜单物品上使用自定义头颅, 可在设置末尾添加 Base64-Value: Base64代码
  263.       # Base64代码可在这里找到 https://minecraft-heads.com
  264.       # 填入不正确的代码将会显示为史蒂夫头颅!
  265.       Base64Value: "eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZjFmYWIwZTZhZWE4ODc0OGNhM2I1NTEyZWQ1MDJhNmQxOGU3NmQ4YWZjNDc3MGQ5OTUyMzNhYzBkYzUxODYifX19"
  266.     JumpItem:
  267.       ShowItem: true
  268.       Name: "&9传送至 %NAME%"
  269.       ItemID: "401"
  270.       # 可使用 '//' 来换行
  271.       Lore: ""
  272.       InventorySlot: 4
  273.       # 若你想在菜单物品上使用自定义头颅, 可在设置末尾添加 Base64-Value: Base64代码
  274.       # Base64代码可在这里找到 https://minecraft-heads.com
  275.       # 填入不正确的代码将会显示为史蒂夫头颅!
  276.       Base64Value: ""
  277.     PartyItem:
  278.       ShowItem: true
  279.       Name: "&dInvite %NAME% to your Party!"
  280.       ItemID: "402"
  281.       Lore: ""
  282.       InventorySlot: 7
  283.       # 若你想在菜单物品上使用自定义头颅, 可在设置末尾添加 Base64-Value: Base64代码
  284.       # Base64代码可在这里找到 https://minecraft-heads.com
  285.       # 填入不正确的代码将会显示为史蒂夫头颅!
  286.       Base64Value: ""
  287.     Placeholders:
  288.       ItemID: "160:7"
  289.       # 若你想在菜单物品上使用自定义头颅, 可在设置末尾添加 Base64-Value: Base64代码
  290.       # Base64代码可在这里找到 https://minecraft-heads.com
  291.       # 填入不正确的代码将会显示为史蒂夫头颅!
  292.       Base64Value: ""
  293.       InventorySlots:
  294.       - 2
  295.       - 4
  296.       - 7
  297.       - 8
  298.     # In the following section you are able to create your own items, which can perform commands or just work as additional placeholders/design elements.
  299.     # To add a new item, just follow these format-rules:
  300.     # CustomItems:
  301.     #   CUSTOM_ITEM_<Number>:
  302.     #     Name: ""
  303.     #     ItemID: ""
  304.     #     Lore: ""
  305.     #     InventorySlot: 1
  306.     #     PerformCommand: <Command> | If you do not want to use a command just let it empty
  307.     #          Base64Value: ""
  308.     #          PlayerHead: false/true    | Set the skin of the player or not
  309.     CustomItems:
  310.       NO_ITEMS: []
  311.       
  312.   RequestsInventory:
  313.     InventoryTitle: "&a当前请求: (Page %PAGE%)"
  314.     # Available sizes are multiples of 9 up to 54
  315.     # [ 9, 18, 27, 36, 45, 54 ]
  316.     InventorySize: 54
  317.     # If you enable this option, the Next-/PreviousPageItem will only be shown, if you have more friends than can fit on one page
  318.     HidePageItemsWhenNotNeeded: false
  319.     RequestItem:
  320.       Name: "&a%NAME%"
  321.       # 可使用 '//' 来换行
  322.       Lore: "&7Requested: %DATE%//&7Message: //&f%MESSAGE%"
  323.       NoMessageReplacement: "-"
  324.     AcceptAllItem:
  325.       ShowItem: true
  326.       Name: "&a接受全部请求"
  327.       ItemID: "35:5"
  328.       # 可使用 '//' 来换行
  329.       Lore: "&7当前: %REQUESTS_COUNT%"
  330.       InventorySlot: 49
  331.       # 若你想在菜单物品上使用自定义头颅, 可在设置末尾添加 Base64-Value: Base64代码
  332.       # Base64代码可在这里找到 https://minecraft-heads.com
  333.       # 填入不正确的代码将会显示为史蒂夫头颅!
  334.       Base64Value: ""
  335.     DenyAllItem:
  336.       ShowItem: true
  337.       Name: "&c拒绝全部请求"
  338.       ItemID: "35:14"
  339.       # 可使用 '//' 来换行
  340.       Lore: "&7当前: %REQUESTS_COUNT%"
  341.       InventorySlot: 51
  342.       # 若你想在菜单物品上使用自定义头颅, 可在设置末尾添加 Base64-Value: Base64代码
  343.       # Base64代码可在这里找到 https://minecraft-heads.com
  344.       # 填入不正确的代码将会显示为史蒂夫头颅!
  345.       Base64Value: ""
  346.     BackItem:
  347.       Name: "&7返回至列表"
  348.       ItemID: "330"
  349.       # 可使用 '//' 来换行
  350.       Lore: ""
  351.       InventorySlot: 46
  352.       # 若你想在菜单物品上使用自定义头颅, 可在设置末尾添加 Base64-Value: Base64代码
  353.       # Base64代码可在这里找到 https://minecraft-heads.com
  354.       # 填入不正确的代码将会显示为史蒂夫头颅!
  355.       Base64Value: "eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZjFmYWIwZTZhZWE4ODc0OGNhM2I1NTEyZWQ1MDJhNmQxOGU3NmQ4YWZjNDc3MGQ5OTUyMzNhYzBkYzUxODYifX19"
  356.     PreviousPageItem:
  357.       ShowItem: true
  358.       Name: "&b上一页"
  359.       ItemID: "262"
  360.       # 可使用 '//' 来换行
  361.       Lore: ""
  362.       InventorySlot: 53
  363.       # 若你想在菜单物品上使用自定义头颅, 可在设置末尾添加 Base64-Value: Base64代码
  364.       # Base64代码可在这里找到 https://minecraft-heads.com
  365.       # 填入不正确的代码将会显示为史蒂夫头颅!
  366.       Base64Value: "eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMzdhZWU5YTc1YmYwZGY3ODk3MTgzMDE1Y2NhMGIyYTdkNzU1YzYzMzg4ZmYwMTc1MmQ1ZjQ0MTlmYzY0NSJ9fX0="
  367.     NextPageItem:
  368.       ShowItem: true
  369.       Name: "&b下一页"
  370.       ItemID: "262"
  371.       # 可使用 '//' 来换行
  372.       Lore: ""
  373.       InventorySlot: 54
  374.       # 若你想在菜单物品上使用自定义头颅, 可在设置末尾添加 Base64-Value: Base64代码
  375.       # Base64代码可在这里找到 https://minecraft-heads.com
  376.       # 填入不正确的代码将会显示为史蒂夫头颅!
  377.       Base64Value: "eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNjgyYWQxYjljYjRkZDIxMjU5YzBkNzVhYTMxNWZmMzg5YzNjZWY3NTJiZTM5NDkzMzgxNjRiYWM4NGE5NmUifX19"
  378.     Placeholders:
  379.       ItemID: "160:7"
  380.       # 若你想在菜单物品上使用自定义头颅, 可在设置末尾添加 Base64-Value: Base64代码
  381.       # Base64代码可在这里找到 https://minecraft-heads.com
  382.       # 填入不正确的代码将会显示为史蒂夫头颅!
  383.       Base64Value: ""
  384.       InventorySlots:
  385.       - 47
  386.       - 48
  387.       - 50
  388.       - 52
  389.     # In the following section you are able to create your own items, which can perform commands or just work as additional placeholders/design elements.
  390.     # To add a new item, just follow these format-rules:
  391.     # CustomItems:
  392.     #   CUSTOM_ITEM_<Number>:
  393.     #     Name: ""
  394.     #     ItemID: ""
  395.     #     Lore: ""
  396.     #     InventorySlot: 1
  397.     #     PerformCommand: <Command> | If you do not want to use a command just let it empty
  398.     #          Base64Value: ""
  399.     #          PlayerHead: false/true    | Set the skin of the player or not
  400.     CustomItems:
  401.       NO_ITEMS: []
  402.    
  403.   RequestEditInventory:
  404.     InventoryTitle: "&a%NAME% 请求:"
  405.     # Available sizes are multiples of 9 up to 54
  406.     # [ 9, 18, 27, 36, 45, 54 ]
  407.     InventorySize: 9
  408.     MessageItem:
  409.       ShowItem: true
  410.       Name: "&7%NAME% 的消息:"
  411.       ItemID: "339"
  412.       # 可使用 '//' 来换行
  413.       Lore: "&r&o%MESSAGE%"
  414.       InventorySlot: 5
  415.       NoMessageReplacement: "-"
  416.       # 若你想在菜单物品上使用自定义头颅, 可在设置末尾添加 Base64-Value: Base64代码
  417.       # Base64代码可在这里找到 https://minecraft-heads.com
  418.       # 填入不正确的代码将会显示为史蒂夫头颅!
  419.       Base64Value: ""
  420.     AcceptItem:
  421.       Name: "&a同意 %NAME% 的请求"
  422.       ItemID: "35:5"
  423.       # 可使用 '//' 来换行
  424.       Lore: ""
  425.       InventorySlot: 4
  426.       # 若你想在菜单物品上使用自定义头颅, 可在设置末尾添加 Base64-Value: Base64代码
  427.       # Base64代码可在这里找到 https://minecraft-heads.com
  428.       # 填入不正确的代码将会显示为史蒂夫头颅!
  429.       Base64Value: ""
  430.     DenyItem:
  431.       Name: "&c拒绝 %NAME% 的请求"
  432.       ItemID: "35:14"
  433.       # 可使用 '//' 来换行
  434.       Lore: ""
  435.       InventorySlot: 6
  436.       # 若你想在菜单物品上使用自定义头颅, 可在设置末尾添加 Base64-Value: Base64代码
  437.       # Base64代码可在这里找到 https://minecraft-heads.com
  438.       # 填入不正确的代码将会显示为史蒂夫头颅!
  439.       Base64Value: ""
  440.     BackItem:
  441.       Name: "&7返回至请求列表"
  442.       ItemID: "330"
  443.       # 可使用 '//' 来换行
  444.       Lore: ""
  445.       InventorySlot: 1
  446.       # 若你想在菜单物品上使用自定义头颅, 可在设置末尾添加 Base64-Value: Base64代码
  447.       # Base64代码可在这里找到 https://minecraft-heads.com
  448.       # 填入不正确的代码将会显示为史蒂夫头颅!
  449.       Base64Value: "eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZjFmYWIwZTZhZWE4ODc0OGNhM2I1NTEyZWQ1MDJhNmQxOGU3NmQ4YWZjNDc3MGQ5OTUyMzNhYzBkYzUxODYifX19"
  450.     Placeholders:
  451.       ItemID: "160:7"
  452.       # 若你想在菜单物品上使用自定义头颅, 可在设置末尾添加 Base64-Value: Base64代码
  453.       # Base64代码可在这里找到 https://minecraft-heads.com
  454.       # 填入不正确的代码将会显示为史蒂夫头颅!
  455.       Base64Value: ""
  456.       InventorySlots:
  457.       - 2
  458.       - 3
  459.       - 7
  460.       - 8
  461.       - 9
  462.     # In the following section you are able to create your own items, which can perform commands or just work as additional placeholders/design elements.
  463.     # To add a new item, just follow these format-rules:
  464.     # CustomItems:
  465.     #   CUSTOM_ITEM_<Number>:
  466.     #     Name: ""
  467.     #     ItemID: ""
  468.     #     Lore: ""
  469.     #     InventorySlot: 1
  470.     #     PerformCommand: <Command> | If you do not want to use a command just let it empty
  471.     #          Base64Value: ""
  472.     #          PlayerHead: false/true    | Set the skin of the player or not
  473.     CustomItems:
  474.       NO_ITEMS: []
  475.       
  476.   OptionsInventory:
  477.     InventoryTitle: "&3选项:"
  478.     # Available sizes are multiples of 9 up to 54
  479.     # [ 9, 18, 27, 36, 45, 54 ]
  480.     InventorySize: 9
  481.     OptionStatusOn: "&a开"
  482.     OptionStatusOff: "&c关"
  483.     BackItem:
  484.       Name: "&7返回至朋友列表"
  485.       ItemID: "330"
  486.       # 可使用 '//' 来换行
  487.       Lore: ""
  488.       InventorySlot: 1
  489.       # 若你想在菜单物品上使用自定义头颅, 可在设置末尾添加 Base64-Value: Base64代码
  490.       # Base64代码可在这里找到 https://minecraft-heads.com
  491.       # 填入不正确的代码将会显示为史蒂夫头颅!
  492.       Base64Value: "eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZjFmYWIwZTZhZWE4ODc0OGNhM2I1NTEyZWQ1MDJhNmQxOGU3NmQ4YWZjNDc3MGQ5OTUyMzNhYzBkYzUxODYifX19"
  493.     ReceiveMessagesItem:
  494.       ShowItem: true
  495.       Name: "&6接收信息"
  496.       ItemID: "339"
  497.       # 可使用 '//' 来换行
  498.       Lore: "&7当前: %OPTION_MESSAGES_STATUS%// //&7点击切换是否接收所有信息//&7包括私聊信息//&7朋友聊天以及加入退出提示"
  499.       InventorySlot: 3
  500.       OnlyFavoritesStatus: "&e仅特别关心"
  501.       # 若你想在菜单物品上使用自定义头颅, 可在设置末尾添加 Base64-Value: Base64代码
  502.       # Base64代码可在这里找到 https://minecraft-heads.com
  503.       # 填入不正确的代码将会显示为史蒂夫头颅!
  504.       Base64Value: ""
  505.       # This is the default-option every new player will start with. If you change this option, you have to change it in the config_bungee.yml aswell!
  506.       # Values: [0 = 'Off', 1 = 'On']
  507.       Default: 1
  508.     ReceiveRequestsItem:
  509.       ShowItem: true
  510.       Name: "&6Receive Requests"
  511.       ItemID: "397:3"
  512.       # 可使用 '//' 来换行
  513.       Lore: "&7当前: %OPTION_REQUESTS_STATUS%// //&7点击切换是否接受好友请求//&7包括所有种类的添加请求"
  514.       InventorySlot: 5
  515.       # 若你想在菜单物品上使用自定义头颅, 可在设置末尾添加 Base64-Value: Base64代码
  516.       # Base64代码可在这里找到 https://minecraft-heads.com
  517.       # 填入不正确的代码将会显示为史蒂夫头颅!
  518.       Base64Value: ""
  519.       # This is the default-option every new player will start with. If you change this option, you have to change it in the config_bungee.yml aswell!
  520.       # Values: [0 = 'Off', 1 = 'On']
  521.       Default: 1
  522.     OfflinemodeItem:
  523.       ShowItem: true
  524.       Name: "&6离线模式"
  525.       ItemID: "355"
  526.       # 可使用 '//' 来换行
  527.       Lore: "&7当前: %OPTION_OFFLINEMODE_STATUS%// //&7若启用, 你将会显示为离线状态//&7对所有好友有效"
  528.       InventorySlot: 7
  529.       # 若你想在菜单物品上使用自定义头颅, 可在设置末尾添加 Base64-Value: Base64代码
  530.       # Base64代码可在这里找到 https://minecraft-heads.com
  531.       # 填入不正确的代码将会显示为史蒂夫头颅!
  532.       Base64Value: ""
  533.       # This is the default-option every new player will start with. If you change this option, you have to change it in the config_bungee.yml aswell!
  534.       # Values: [0 = 'Off', 1 = 'On']
  535.       Default: 0
  536.     StatusItem:
  537.       ShowItem: true
  538.       Name: "&6修改状态"
  539.       ItemID: "421"
  540.       # 可使用 '//' 来换行
  541.       Lore: "&7你的当前状态://&r&o%STATUS%"
  542.       InventorySlot: 9
  543.       # 若你想在菜单物品上使用自定义头颅, 可在设置末尾添加 Base64-Value: Base64代码
  544.       # Base64代码可在这里找到 https://minecraft-heads.com
  545.       # 填入不正确的代码将会显示为史蒂夫头颅!
  546.       Base64Value: ""
  547.     JumpItem:
  548.       ShowItem: true
  549.       Name: "&9Jumping"
  550.       ItemID: "401"
  551.       # 可使用 '//' 来换行
  552.       Lore: "&7当前: %OPTION_JUMPING_STATUS%//&7传送请求: %OPTIONS_JUMPING_TPA%// //&7若启用,好友可直接传送至你的位置// //&7点击切换该选项!"
  553.       InventorySlot: 4
  554.       OnlyFavoritesStatus: "&e仅特别关心"
  555.       # All TPA specific options only apply when having TPA enabled in the config_bungee.yml
  556.       TPAEnabledStatus: "&a开启"
  557.       TPADisabledStatus: "&c关闭"
  558.       # 若你想在菜单物品上使用自定义头颅, 可在设置末尾添加 Base64-Value: Base64代码
  559.       # Base64代码可在这里找到 https://minecraft-heads.com
  560.       # 填入不正确的代码将会显示为史蒂夫头颅!
  561.       Base64Value: ""
  562.       # This is the default-option every new player will start with. If you change this option, you have to change it in the config_bungee.yml aswell!
  563.       # Values: [0 = 'Off', 1 = 'On', 2 = 'Favorites']
  564.       Default: 1
  565.       # Values: [0 = 'No', 1 = 'Yes']
  566.       TPADefault: 0
  567.     PartyItem:
  568.       ShowItem: true
  569.       Name: "&dParty Invites"
  570.       ItemID: "402"
  571.       # 可使用 '//' 来换行
  572.       Lore: "&7当前: %OPTION_PARTY_STATUS%// //&7点击切换是否接收来自好友的队伍邀请!"
  573.       InventorySlot: 2
  574.       # 若你想在菜单物品上使用自定义头颅, 可在设置末尾添加 Base64-Value: Base64代码
  575.       # Base64代码可在这里找到 https://minecraft-heads.com
  576.       # 填入不正确的代码将会显示为史蒂夫头颅!
  577.       Base64Value: ""
  578.       # This is the default-option every new player will start with. If you change this option, you have to change it in the config_bungee.yml aswell!
  579.       # Values: [0 = 'Off', 1 = 'On']
  580.       Default: 1
  581.     Placeholders:
  582.       ItemID: "160:7"
  583.       # 若你想在菜单物品上使用自定义头颅, 可在设置末尾添加 Base64-Value: Base64代码
  584.       # Base64代码可在这里找到 https://minecraft-heads.com
  585.       # 填入不正确的代码将会显示为史蒂夫头颅!
  586.       Base64Value: ""
  587.       InventorySlots:
  588.       - 2
  589.       - 4
  590.       - 6
  591.       - 8
  592.     # In the following section you are able to create your own items, which can perform commands or just work as additional placeholders/design elements.
  593.     # To add a new item, just follow these format-rules:
  594.     # CustomItems:
  595.     #   CUSTOM_ITEM_<Number>:
  596.     #     Name: ""
  597.     #     ItemID: ""
  598.     #     Lore: ""
  599.     #     InventorySlot: 1
  600.     #     PerformCommand: <Command> | If you do not want to use a command just let it empty
  601.     #          Base64Value: ""
  602.     #          PlayerHead: false/true    | Set the skin of the player or not
  603.     CustomItems:
  604.       NO_ITEMS: []
复制代码


party.yml
  1. Party:
  2.   Enable: true
  3.   Prefix: '&9Party &7|'
  4.   CreateInventory:
  5.     InventoryTitle: '&9当前没有队伍'
  6.     InventorySize: 36
  7.     CreateItem:
  8.       Name: '&a创建队伍'
  9.       ItemID: '35:5'
  10.       Lore: ''
  11.       InventorySlot: 14
  12.       Base64Value: ''
  13.     BackItem:
  14.       Name: '&7返回至朋友列表'
  15.       ItemID: '330'
  16.       Lore: ''
  17.       InventorySlot: 28
  18.       Base64Value: eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZjFmYWIwZTZhZWE4ODc0OGNhM2I1NTEyZWQ1MDJhNmQxOGU3NmQ4YWZjNDc3MGQ5OTUyMzNhYzBkYzUxODYifX19
  19.     Placeholders:
  20.       ItemID: '160:7'
  21.       Base64Value: ''
  22.       InventorySlots:
  23.       - 29
  24.       - 30
  25.       - 31
  26.       - 32
  27.       - 33
  28.       - 34
  29.       - 35
  30.       - 36
  31.     CustomItems:
  32.       CUSTOM_ITEM_1:
  33.         Name: '&a自定义物品'
  34.         ItemID: '323'
  35.         Lore: '&7该物品可在party.yml内编辑'
  36.         InventorySlot: 1
  37.         PerformCommand: say HyChrod is the best!
  38.         Base64Value: eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNDdhMzcwMzgzODc1NThkYjY1ZmRlOTMyNGMxZTU3MjlmYmIzNDkwYWM2YWFkZDc3MjVmZjJjN2ExZmU2In19fQ==
  39.         PlayerHead: false
  40.   PartyInventory:
  41.     InventoryTitle: '&a你的队伍:'
  42.     InventorySize: 36
  43.     MemberItem:
  44.       Name: '&a%NAME%'
  45.       Lore: //&7点击打开选项!
  46.     LeaderItem:
  47.       Name: '&c%NAME%'
  48.       Lore: //&7点击打开选项!
  49.     LeaveItem:
  50.       Name: '&c离开队伍'
  51.       ItemID: '35:14'
  52.       Lore: ''
  53.       InventorySlot: 36
  54.       Base64Value: ''
  55.     BackItem:
  56.       Name: '&7返回至朋友列表'
  57.       ItemID: '330'
  58.       Lore: ''
  59.       InventorySlot: 28
  60.       Base64Value: eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZjFmYWIwZTZhZWE4ODc0OGNhM2I1NTEyZWQ1MDJhNmQxOGU3NmQ4YWZjNDc3MGQ5OTUyMzNhYzBkYzUxODYifX19
  61.     Placeholders:
  62.       ItemID: '160:7'
  63.       Base64Value: ''
  64.       InventorySlots:
  65.       - 1
  66.       - 2
  67.       - 3
  68.       - 4
  69.       - 5
  70.       - 6
  71.       - 7
  72.       - 8
  73.       - 9
  74.       - 10
  75.       - 11
  76.       - 17
  77.       - 18
  78.       - 19
  79.       - 20
  80.       - 21
  81.       - 22
  82.       - 23
  83.       - 24
  84.       - 25
  85.       - 26
  86.       - 27
  87.       - 29
  88.       - 30
  89.       - 31
  90.       - 32
  91.       - 33
  92.       - 34
  93.       - 35
  94.     CustomItems: []
  95.   EditMemberInventory:
  96.     InventoryTitle: '&a%NAME% 的选项'
  97.     InventorySize: 9
  98.     PromoteItem:
  99.       Name: '&6提升 %NAME%'
  100.       ItemID: '266'
  101.       Lore: '&7点击使玩家 %NAME%//&7成为队伍领袖!'
  102.       InventorySlot: 4
  103.       Base64Value: ''
  104.     DemoteItem:
  105.       Name: '&7Demote %NAME%'
  106.       ItemID: '265'
  107.       Lore: '&7点击使玩家 %NAME%//&7降为队伍成员!'
  108.       InventorySlot: 6
  109.       Base64Value: ''
  110.     RemoveItem:
  111.       Name: '&c从队伍中移出'
  112.       ItemID: '35:14'
  113.       Lore: ''
  114.       InventorySlot: 8
  115.       Base64Value: ''
  116.     BackItem:
  117.       Name: '&7返回至你的队伍'
  118.       ItemID: '330'
  119.       Lore: ''
  120.       InventorySlot: 1
  121.       Base64Value: eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZjFmYWIwZTZhZWE4ODc0OGNhM2I1NTEyZWQ1MDJhNmQxOGU3NmQ4YWZjNDc3MGQ5OTUyMzNhYzBkYzUxODYifX19
  122.     Placeholders:
  123.       ItemID: '160:7'
  124.       Base64Value: ''
  125.       InventorySlots:
  126.       - 2
  127.       - 3
  128.       - 5
  129.       - 7
  130.       - 9
  131.     CustomItems: []
复制代码





快捷下载: [由于论坛BUG暂时无法上传]





名副其实

2. Sentinel (2.5.0)




config.yml
  1. # Sentinel 插件配置文档
  2. # 新 NPC 的默认设置
  3. sentinel defaults:
  4.     # 当靠近时就近选择攻击目标
  5.     close chase target: true
  6.     # 范围攻击的NPC是否就近选择攻击目标
  7.     ranged chase target: false
  8.     # 攻击伤害 -1 for calculated values.
  9.     damage: -1
  10.     # 护甲值(百分比). -1 for calculated values.
  11.     armor: -1
  12.     # 生命值.
  13.     health: 20
  14.     # NPC 是否可见
  15.     invincible: false
  16.     # 攻击速度,单位为刻
  17.     attack rate: 30
  18.     # 回复速度,单位为刻
  19.     heal rate: 100
  20.     # NPC 是否会还手
  21.     fightback: true
  22.     # 是否需要弹药才可战斗
  23.     needs ammo: false
  24.     # 是否会避免伤害非目标实体
  25.     safe shot: true
  26.     # 默认重生时间,单位为刻
  27.     respawn time: 100
  28.     # 被此 NPC 击杀的敌怪是否掉落物品
  29.     enemy drops: false
  30.     # 仇恨持续时间,单位为刻 默认为 6000 = 5 分钟.
  31.     enemy target time: 0
  32.     # 追逐时的速度倍率(在追逐状态时将原移动速度乘以该数值得到追逐时速度)
  33.     speed: 1.5
  34.     # 是否自动切换为最合适的武器. (远程时使用弓,近战时使用剑).
  35.     autoswitch: false
  36.     # 弓箭瞄准精准度偏移,0即为100%精确,5即为极不精确
  37.     accuracy: 0
  38.     # 真实逻辑,启用后不攻击看不见(隔着方块)的敌人
  39.     realistic: false
  40.     # NPC 互动半径
  41.     reach: 3
  42.     # 远离威胁源的最小距离 (可被 'addavoid' 命令列出被视作威胁源的方块/实体).
  43.     avoid range: 10
  44.     # 被攻击时是否逃跑
  45.     runaway: false
  46.     # 距离玩家多少时欢迎或警告玩家
  47.     greet range: 10
  48.     # 欢迎或警告玩家的几率
  49.     greet rate: 100
  50.     # NPC 发射的弹射物攻击范围
  51.     projectile range: 100
  52.     # 搜寻新仇恨目标的间隔,单位为刻. 0 = 无延迟.
  53.     reaction slowdown: 0
  54.     # NPC 是否无视非目标的伤害。
  55.     protected: true
  56.     # 是否会被击退. 如果设置为 true 将会强制让 NPC 定在原地
  57.     allow knockback: true
  58.     # 死亡后掉落经验数
  59.     death xp: 0
  60. random:
  61.     # 持续多少时间后 NPC 会感到恐惧并远离威胁源 (当受到攻击或靠近威胁源时).
  62.     run away time: 1200
  63.     # 隐身攻击时音效
  64.     spectral sound: ENTITY_VILLAGER_YES
  65.     # 是否在近战时使用 'workaround' 模式
  66.     # 如果启用可能会造成意外的负面效果, 例如生物不攻击或装备防具效果无效等
  67.     workaround damage: false
  68.     # 是否强制 NPC 在 'keepInventory' 或类似效果启用时仍掉落物品.
  69.     workaround drops: false
  70.     # 是否阻止应用于本插件的 NPC 的部分事件. 可能会造成一些奇怪的效果.
  71.     # 建议在开启本选项时同样启用其他 workaround 选项
  72.     workaround bukkit events: false
  73.     # 是否在 workaround 模式下启用实体追逐寻路.
  74.     # 若设置为 false 则会使用 Citizens 提供的方法
  75.     workaround entity chase pathfinder: false
  76.     # 是否显示死亡消息
  77.     death messages: true
  78.     # 抛掷投射物的间隔 (例如 箭).
  79.     shoot speed minimum: 20
  80.     # 是否强制造成攻击 (大部分用于范围攻击).
  81.         # (译者注: 非无视护甲)
  82.     # 如果启用可能会造成意外的负面效果, 例如生物不攻击或装备防具效果无效等
  83.     enforce damage: false
  84.     # 是否无视非目标来源的伤害
  85.     protected: false
  86.     # 是否允许凋零头颅,幻术师铁牙,潜影贝导弹等的攻击
  87.     skull allowed: true
  88.     # 在 NPC 不再指向更优目标之前,需要多少个计算周期。
  89.     clever ticks: 10
  90.     # 所有 NPC 最大生命值
  91.     max health: 2000
  92.     # 是否忽略隐身目标
  93.     ignore invisible targets: true
  94.     # 是否阻止其他玩家攻击保镖 NPC
  95.     no guard damage: true
  96.     # 跟随被保护玩家的距离设置
  97.     guard follow distance:
  98.         # 选择点最大距离 (邻近被保护玩家)
  99.         selection range: 4
  100.         # 选择点最小距离 (邻近被保护玩家)
  101.         minimum: 7
  102.     # 本插件的 NPC 的弹射物落地后清理间隔. 设置为 0 禁用该功能.
  103.     arrow cleanup time: 200
  104.     # 是否阻止本插件 NPC 被阳光烧伤
  105.     block sunburn: true
  106.     # 当更优可选目标出现时是否仍保持原目标不变
  107.     # 该选项默认应用于全体 NPC,配置文本目前不可修改该属性,仅可通过 API 修改
  108.     retain target: false
  109.     # 是否阻止本插件的 NPC 所持武器对地形造成的破坏
  110.     prevent explosion block damage: true
  111.     #若设置为 true,且当NPC的伤害值为-1时,原版(插件或NMS映射伤害)伤害所输出的数值将直接应用于某些 NPC 的近战伤害。
  112.     #若手动指定攻击值,或 NPC 类型不受支持,抑或此处被设置为 false,则将伤害直接附加于玩家。
  113.     #若启用 wordaround 模式,则不使用原版伤害或直接伤害,而会应用 workaround 状态下的攻击数值。
  114.     do native attacks: true
  115. # 刷新时间
  116. update rate: 10
  117. #----------- Important! -----------
  118. # 你的配置文本已经过期
  119. # 它已经被自动更新。
  120. # 你可能会注意到注释重复,或不连贯等错误
  121. # 如果这让你感到不适,你可以删除该提示,或删除该文件
  122. # 以使其重新生成。
  123. #
  124. # 下列数字显示你的配置文本经历了
  125. # 文本文档重置的次数。
  126. # ----------- End Important! -----------
  127. times_changed: 2
复制代码






第一页 上一页 下一页 最后一页