931
收录服务器
1200
注册
93 493
玩家
PinPlease 图钉
玩家和工作人员可以在门、活板门、门、炉子和所有箱子上设置gui密码!
作 者 TheTealViper
发布时间 2015年10月30日
支持核心 Spigot
原生版本
支持版本 1.8,1.9,1.10,1.11,1.12
点此下载

📌 PinPlease 插件

PinPlease 是一款允许玩家和管理员使用密码锁住门、活板门、熔炉、箱子和栅栏门的插件。你可以自由地分享它给任何人!

✨ 功能

  • 支持 4 种不同大小的密码盘:9, 20, 35, 54
  • 理论上支持无限长度的密码
  • 管理员可以进行密码重置

🛠️ 用法说明

🔑 如何设置密码

你可以为任何门、活板门、熔炉、箱子或栅栏门添加密码。

设置密码的命令是 /pp create #,#,#,#,#,#...,但你必须放置该方块(除非你拥有 PinPlease.admin 权限)。

注意:给予玩家 PinPlease.size.# 权限节点可以限制他们设置的密码长度。

密码的长度可以是任意的,只要它能适应聊天栏即可(你可以通过直接在 pins.yml 配置文件中更改来使其更长)。插件支持 4 种可能的密码盘大小:9、20、35、54。它们会根据你在密码中使用的数字大小自动出现。例如,如果你只使用小于等于 9 的数字,就会出现 9 按钮的密码盘。

例如,如果你输入 21,1,5,15

因为 21 大于 20,所以密码盘的大小会变成 35 按钮。

再例如,如果你输入 1,19,4

19 小于 20 但大于 9,所以会使用 20 按钮的密码盘。

展示 54 按钮密码盘的例子:

⚙️ 环境要求

  • Java 8 (不支持 Java 7)

⌨️ 命令

  • /pp create #,#,# - 在你放置的并且正在看的门、活板门、熔炉、箱子或栅栏门上创建密码(除非你拥有 PinPlease.admin 权限)。 权限:PinPlease.create
  • /pp remove - 移除你放置的并且正在看的门、活板门、熔炉、箱子或栅栏门上的密码(除非你拥有 PinPlease.admin 权限)。 权限:PinPlease.remove
  • /pp showpin - 显示你正在看的任何门、活板门、熔炉、箱子或栅栏门的密码。 权限:PinPlease.showpin

🔑 权限

  • PinPlease.admin - 授予所有命令的权限和覆盖 "if you placed it" 过滤器。 (意味着即使你没有放置门、活板门、熔炉、箱子或栅栏门,你也可以创建/删除任何密码。)
  • PinPlease.create - 设置密码
  • PinPlease.remove - 移除密码
  • PinPlease.showpin - 显示密码
  • PinPlease.size.# - 授予玩家/组此权限以限制其密码的大小

📝 注意事项

配置文件可能有点复杂,如有任何问题,请随时提出!

⚙️ 配置文件 (config.yml)


##########################################################
#                       Pin Please Config                  #
##########################################################

Prefix: (PinPlease)
#This is the prefix before all messages from the plugin.

Primary_Format: '&b&l'
#This would make plugin name bold and blue. Make sure you put it all in proper order!

Secondary_Format: '&c'
#This would make help messages red.

Time_To_Keep_Open: 10
#This is in ticks. There are 20 ticks in 1 second. Currently it will open for 1/2 a
#second. To keep it open for 1 second, for example, you would put 20. To convert seconds
#to ticks do <(seconds) * 20 = (ticks)>

Staff_Master_Code: "2,4,3,1,1,2,3,4,2,3,5"
#Code that staff can do to open any locked block. Don't let players know this!
#Numbers can be from 1 -> 54 but if the pin panel is smaller than any of the numbers,
#they can't be clicked. Keep this in mind.

##########################################################
#                        Permissions                       #
##########################################################

# PinPlease.admin
#- Gives permissions to do ALL commands and ALL overrides

# PinPlease.create
#- Gives player permission to create THEIR pins

# PinPlease.remove
#- Gives player permission to remove THEIR pins.

# PinPlease.showpin
#- Gives player permission to see ANY pin.

💰 捐赠

如果你希望支持作者,请访问 https://paypal.me/AaronSkeels