MyFirstPlugin (我的第一个插件-一个简单的示例插件)
功能:
该插件是一个简单的示例插件,用于介绍插件的基本结构和用法。它没有具体的功能,只是用来演示。
配置:
该插件没有特定的配置文件,因为它只是一个演示插件,不涉及具体的功能逻辑。
用法:
1. 下载并安装该插件到Minecraft服务器的插件目录。
2. 启动/重启服务器,让插件生效。
3. 在游戏中尝试使用一些指令或触发一些事件,来查看插件的效果。
4. 参考插件源码以了解插件的具体实现。
权限:
该插件没有特定的权限设置,因为它只是一个演示插件,不需要特定的权限来操作。
代码,请参考插件源码
.containeri,.first,.second{position:absolute;}.containeri{margin:auto;top:91px;bottom:0;right:0;left:677px;width:170px;height:50px;transition:all 0.3s ease;transform:scale(0.8);}.wrapi{width:100%;height:50px;border:2px solid #FFF;transition:all 0.3s ease;border-radius:5px;}.first,.second{width:100%;height:50px;font-family:"Open Sans",sans-serif;transition:all 0.2s ease-in-out;font-size:17px;text-transform:uppercase;color:#FFF;letter-spacing:2px;text-align:center;vertical-align:middle;line-height:50px;}.second{opacity:0;}.first,.second{cursor:default;}.containeri:hover{width:250px;}.containeri:hover .wrapi{padding-bottom:17px;}.containeri:hover .first{transform:translateY(-8px);padding-top:5px;}.containeri:hover .second{transform:translateY(20px);opacity:1;}
收录



