插件介绍:
很简单,就是用数据保存玩家数据,BC用的不解释
在玩家加入和离开的事件中插件会载入和保存数据到数据库
前置:
{clink t="【Bukkit】ProtocolLib — 前置插件[全版本]" d="使用标准的Bukkit API无法执行某些任务,并且可能需要直接使用甚至修改Minecraft。一种常用技术是修改传入和传出数据包或将自定义数据包注入流中。但是,这样做很麻烦,而且大多数实现会在Minecraft的新版本发布后立即中断,这主要是由于混淆。" l="https://www.mmcee.cn/195.html"}
还需要个 MySQL数据库
安装说明
将插件放置在服务器plugins文件夹中。
启动服务器以生成配置,然后停止服务器。
打开配置并设置数据库连接详细信息。您需要创建数据库,然后插件将自行创建表。
启动服务器。完成,享受。根据需要在任意数量的服务器上共享exp。
Place the plugin in the server plugins folder.
Start the server to generate the config, then stop the server.
Open the config and set up the database connection details. You need to create the database, then the plugin will create the tables on it's own.
Start the Server. Done, enjoy. Share exp on as many servers as you need.
没有指令和权限
配置文件:
#MySQL Database details
database:
mysql:
#MySQL server address
host: 127.0.0.1
#MySQL server port (default 3306)
port: 3306
#Database name (NOTE! You need to create the database, then the plugin will create the tables.)
databaseName: 'mydatabase'
#Tables name (the plugin will auto create it)
tableName: 'meb_inventory'
#User name
user: 'admin'
#User password
password: 'cheesecake'
#SSL connection
sslEnabled: false
#Remove inactive users from the database. This maintenance task will start each server start with a 2min delay.
maintenance:
#Enable or disable database maintenance. | (true or false)
enabled: false
#Inactivity in days. Default 60 days.
inactivity: 60
#Other configurable options
General:
#Save online players accounts to database task. Disable this task and data will only be saved when the player disconnects.
#To limit data loss in case the server crashes enable this saving task. It runs async so there will be no lag involved.
saveDataTask:
#Enable or disable the data save task. | (true or false)
enabled: true
#Time between data saves in minutes. | Default 3 min.
interval: 3
#Hide the data save task log messages.
hideLogMessages: false
#Login economy sync delay in milliseconds (default 1000 milliseconds = 1 second)
#This delay is needed in bungeecord setups, because when you move between servers the quit and login takes place almost in the same time.
loginSyncDelay: 1000
#Set this to false to disable the sync of players armor. | (true or false)
syncArmorEnabled: true
#Enable modded items support. This will require the ProtocolLib dependency! | (true or false)
#This is needed if you experience item data loss on some mods that save NBT data.
enableModdedItemsSupport: false
#Disable sounds generated by this plugin. The sync confirmation sound for example. | (true or false)
disableSounds: false
#Debug console messages.
Debug:
#Inventory sync debug messages.
InventorySync: false
#Chat Messages with full color and format codes support. Disable any message by setting it to '' | Example> syncComplete: ''
#Minecraft Color and Format Codes: http://minecraft.gamepedia.com/Formatting_codes
ChatMessages:
syncComplete: '&2[MIB] &aData sync complete!'
inventorySyncError: '&4[WARNING] &cError loading your inventory! Contact the staff team.'
inventorySyncBackup: '&6[!] &eRestored the local inventory! Don''t leave items in your inventory when you disconnect!'
评论
共7
条评论
bug_report 开发
label 标签
ACG
AutoRestart
bukkit
Bukkit插件
ChatMnagement
Craft Bukkit
ess
FastAsyncWorldEdit
fill
hypixel
id
JAVA
Minecraft
Minecraft Server
MOD服务器
NotBuild
PaperSpigot
PayDay
pe
PHP
PlaceholderAPI
QuarryCraft
server.properties文件
SpecialTools
Spigot
Sponge
sponge插件
Typecho
ViaVersion
WorldBorder
WorldEdit
worldguard
传送
作业
作品
信息
修复
修正
其他
冬木
创世神
创世神异步
前置
命令方块
圆形
基础插件
填充
壁纸
娱乐
娱乐服务端
学习
安全
官方服务端
小游戏
小游戏服务端
属性
开发
开服教程
开源
必读
我的世界
我的世界开服教程
我的世界怎么开服
我的世界指令
我的世界指令大全
我的世界指令教程
我的世界插件
我的世界服务器
我的世界服务端
我的世界物品id
我的世界物品英文
指令
指令大全
挖矿
收藏
教程
整地
日常
日记
最新服务端
服务器
木头
机制
机械
权限
汉化
版本
物品
生存
生成
生物
空岛
管理
红石
红石灯
纯净服务端
经济
综合
编程
网页
聊天
自动重启
艾慕之宫
规划
角色
边界
链接
附魔
面向对象
项目
窝棒棒的
牛B
wow真棒
6666666我去
配置文件的后缀是啥啊?jar吗???
谢谢!
有趣