Warning!!
Please remove "InvisibleItemFrame", it will cause this plug-in conflict and invalidation after it has been tested.
This plug-in reads and installs "InvisibleItemFrame" and will automatically close "CGInvisibleItemFrame" to achieve the safety protection mechanism
[version 1.3.0] This version will automatically update the settings and keep all settings in /backups/config_bak_{timestamp}.yml
Original Author:
https://www.spigotmc.org/resources/invisibleitemframe.81303/
Fix errors about InvisibleItemFrame and PlotSquared
Instructions:
Just facing the item Frame, press Shift + Mouse Right-click
Plugin features
- Permission system
- Update checker
- Debugging system
- Warning system
- Quickly set up to avoid troublesome plug-in settings
Softdepend:
- PlotSquared [not required]
- WorldEdit [not required]
If you want to reload the plug-in, please use /reload or Plugman. If necessary, please let me know!! I will study the code related to reloading config.yml again.
bStats Statistical data:
https://bstats.org/plugin/bukkit/CGInvisibleItemFrame/12701
Report Bug and Suggest:
https://github.com/creamgod45/CGInvisibleItemFrame/issues
-----------------------------------------------------------------------------------------------
警告!!
請移除 "InvisibleItemFrame",已經測試過後將會造成此插件衝突並且失效。
此插件讀取到安裝 "InvisibleItemFrame" 將會自動關閉 "CGInvisibleItemFrame",達到安全保護機制
[version 1.3.0] 此版本將會自動更新設定,並且保留所有設定內容於/backups/config_bak_{timestamp}.yml
原作者:
https://www.spigotmc.org/resources/invisibleitemframe.81303/
修復有關 InvisibleItemFrame 和 PlotSquared 的錯誤
使用方法:
只要對著物品展示框 按下 Shift + 滑鼠 Right click
插件特點
- 權限系統
- 更新檢查器
- 除錯系統
- 警告系統
- 快速設定免除麻煩的插件設定
非必要插件:
- PlotSquared [非必要]
- WorldEdit [非必要]
如果要重新載入插件請使用 /reload 或 Plugman,如果有需要請跟我說!!我會再研究關於重新載入 config.yml 的相關程式碼。
bStats 統計數據:
https://bstats.org/plugin/bukkit/CGInvisibleItemFrame/12701
回報問題和意見:
https://github.com/creamgod45/CGInvisibleItemFrame/issues
config.yml
Code (YAML):
Setting
:
# English:
# This option is false during the default installation, but it will be enforced if there is no config.lock in the file.
# If set to false, the action of updating the configuration file will be executed, and then the file will be saved in /backups
# 繁體中文(Traditional Chinese):
# 默認安裝時此選項為 false,但如果檔案中沒有 config.lock 將會強制執行。
# 如果設置為 false,將會執行更新設定檔案的動作,然後將會保存檔案於 /backups/config_bak_{timestamp}.yml
update_config
: false
# English:
# This is the prefix when displaying plug-in messages
# 繁體中文(Traditional Chinese):
# 這是顯示插件訊息時的前綴
prefix
:
"&5&lCGInvisibleItemFrame》 "
# English:
# If set to true, the Messages will become the message displayed by the plugin
# If set to false, the default is Traditional Chinese message
# 繁體中文(Traditional Chinese):
# 如果設置為 true,則 Messages 將成為插件顯示的訊息
# 如果設置為 false,默認為繁體中文訊息
using_custom_message
: true
# English:
# If this set true, the permission "cginvisibleitemframe.debugConsole" will be enable for op
# 繁體中文(Traditional Chinese):
# 如果此設置為 true,則將為 op 啟用預設 "cginvisibleitemframe.debugConsole" 權限
debugConsole_msg_default_op
: false
# English:
# If this set true, the permission "cginvisibleitemframe.debugPlayer" will be enable for op
# 繁體中文(Traditional Chinese):
# 如果此設置為 true,則將為 op 啟用預設 "cginvisibleitemframe.debugPlayer" 權限
debugPlayer_msg_default_op
: true
# English:
# If you set this worlds, these worlds will manage the control of the item frame
# If PlotSquared_Worlds does not set the relevant PlotSquared map,
# the PlotSquared map will not be protected by this plugin!!
# 繁體中文(Traditional Chinese):
# 如果設置這個 世界(worlds),這些 世界(worlds) 將會管理物品展示框的控制
# 如果 PlotSquared_Worlds 未設定相關的 PlotSquared 的地圖,則 PlotSquared 的地圖將不受此插件的保護!!
PlotSquared_Worlds
:
- 'plotworld'
- 'plotsquared'
# English:
# If this setting is true, the fast player access (fast_deny_player_use_worlds) below will be enabled
# This is just for the convenience of setting,
# it is recommended that you still use the permission system to set permissions in different worlds,
# otherwise it will cause irreversible errors
# 繁體中文(Traditional Chinese):
# 如果此設置為 true,下方的 快速玩家使用權限 (fast_deny_player_use_worlds) 才會啟用
# 這只是為了方便設定,建議您還是使用權限系統分世界設定權限,否則造成不可逆的錯誤
fast_deny_player_use
: true
# English:
# Quickly cancel the player's use permission ("cginvisibleitemframe.use") in the fast_deny_player_use_worlds,
# you can exempt the permission setting!!
# 繁體中文(Traditional Chinese):
# 快速取消玩家使用權限("cginvisibleitemframe.use")的世界,可以免除權限設定!!
fast_deny_player_use_worlds
:
- 'world'
# English:
# If you set this worlds, these worlds will be disable control item frame
# 繁體中文(Traditional Chinese):
# 如果設置這個 世界(worlds),這些 世界(worlds) 將會禁用控制物品展示框
disable_worlds
:
-
"Disable World Name"
Messages
:
# English:
# * This plugin does not support Placeholder API *
# *player_name* Is a placeholder
# 繁體中文(Traditional Chinese):
# * 本插件並未支援 Placeholder API *
# *player_name* 是一個佔位符
on_load
:
"&2Copy config.yml to the plugin folder."
on_enable
:
"&2CGInvisibleItemFrame started successfully."
on_disable
:
"&4CGInvisibleItemFrame closed successfully."
on_dectect_conflict
:
"&4Warning that this plugin InvisibleItemFrame conflicts with each other!!&cRecommend to remove"
on_dectect_plotsquared
:
"&eDetect PlotSquared Service..."
on_dectect_plotsquared_done
:
"&eDetect PlotSquared Service...&aDone"
on_dectect_plotsquared_noinstall
:
"&eDetect PlotSquared Service...&eNo install"
no_permission
:
"&cNo permission to use this operation!!"
plotsquared_worlds_noset_warning
:
"If PlotSquared_Worlds does not set the relevant PlotSquared map, the PlotSquared map will not be protected by this plugin!!"
debug_player_plot_isowner
:
"&2You are the landlord of this place"
debug_player_plot_istrust
:
"&2You are a trusted partner in this place"
debug_player_plot_no
:
"&cYou are not the landlord or trusted partner of this place"
debug_player_plot_inRoad
:
"&cYou are standing on the road so you cannot change the status of the ItemFrame"
debug_check_plot_permission
:
"&ePlayer *player_name* does not have cginvisibleitemframe.use permission!!"
debug_check_plot_inRoad
:
"&ePlayer *player_name* is stay on the road, So can't change everything!!"
debug_check_plot_isowner
:
"&ePlayer *player_name* is the landlord of this place"
debug_check_plot_istrust
:
"&ePlayer *player_name* is a trusted partner of this place"
debug_check_plot_no
:
"&ePlayer *player_name* not a landlord or trusted partner of this place"
file_configbak_copyed
:
"&eFile config.yml already backup to the /CGInvisibleItemFrame/backups/"
file_config_deleted
:
"&cFile config.yml Deleted"
file_io_error
:
"&4File IO error"
file_config_lock
:
"&f[&4lock&f]&eConfiguration file config.yml"
file_config_locked
:
"&cThe configuration file config.yml has been locked."
updatachecker_title
:
"&bUpdate Checker"
updatachecker_endtitle
:
"&bEND Update Checker"
updatachecker_nowversion
:
"&f[&cOld&f] &cNow Version"
updatachecker_newversion
:
"&f[&aNew&f] &eNew Version"
updatachecker_update_suggestion
:
"&f[&aNew&f] &eUpdate suggestion"
updatachecker_done
:
"&aYou are already the latest version"
Permissions
Code (YAML):
permissions:
cginvisibleitemframe.use:
description
: Use permission of invisible item frame 隱形物品展示框使用權限
default
: true
cginvisibleitemframe.debugPlayer:
description
: Send debugging information to the player who operates 發送除錯資訊給予操作的玩家
default
: op
cginvisibleitemframe.debugConsole:
description
: Permission debugging information in console 控制台中的權限調試信息
default
: op
cginvisibleitemframe.admin:
description
: Have plugin control permissions 擁有插件控制權限
default
: op