服务器使用量
未统计
服务玩家数
未统计
下载量
4,135
插件详细介绍
SaveInventory(SI)是一款简洁实用的插件,可用于保存、清空、恢复与同步玩家的背包和末影箱,甚至支持在多个 BungeeCord 服务器之间同步。它最初是为生存服中的小游戏场景设计的,未来还计划加入更多功能。
插件简介
- 保存玩家背包与末影箱
- 清空玩家背包与末影箱
- 恢复玩家背包与末影箱(从最近一次保存中加载)
- 在多个 BungeeCord 服务器之间同步玩家背包与末影箱(带防复制机制)
- 玩家加入服务器和/或死亡时自动备份背包
- 如果你遇到任何问题或有建议,可以在 Discussion 区留言。
- 如果想获得更快的支持,也可以加入作者的 Discord server。
命令
/si reload→ 重新加载config.yml/si backup {player}→ 保存该玩家的背包和末影箱(最多保留最近 10 次)/si clear {player}→ 清空该玩家的背包和末影箱/si restore {player}→ 恢复该玩家最近一次保存的背包数据
权限
saveinventory.*→ 所有命令的总权限(默认 OP)saveinventory.use→ 允许玩家使用/si(其他命令所需前置权限,默认 ALL)saveinventory.reload→ 允许重载配置(默认 OP)saveinventory.backup→ 允许保存其他玩家的背包和末影箱(默认 OP)saveinventory.clear→ 允许清空其他玩家的背包和末影箱(默认 OP)saveinventory.restore→ 允许恢复其他玩家最近一次保存的背包和末影箱(默认 OP)
兼容性
- 本插件兼容 Bukkit、Spigot 和 Paper 服务器。
已知兼容插件
InventoryRollback→LINK
bStats
SaveInventory 使用 bStats 收集该插件的使用数据,这有助于作者了解服务器版本和插件版本的使用情况。
- 你可以在
config.yml中修改以下内容来关闭它:
bStats: false- 点击
HERE查看 SaveInventory 的统计信息。
默认配置
##################################################################################
# SI ~ SaveInventory #
# Version: 1.2.2 #
# By: PretzelJohn #
##################################################################################
# This helps me keep track of what server versions are being used. Please leave this set to true
bStats: true
# Maximum number of inventory backups per player. The oldest backups are deleted first.
SavesPerPlayer: 10
# Automatically makes a backup of each player's inventory and enderchest when they log in
BackupOnJoin: false
# Automatically makes a backup of each player's inventory and enderchest when they die
BackupOnDeath: false
# Set this to true and set up your MySQL database (below) for all Bungee servers
# to automatically sync player inventories across multiple servers.
# NOTE: Make sure to change this setting on ALL Bungee servers to prevent issues
BungeeAutoSync: false
# Set up your MySQL database, then fill in the following information:
database:
# Set to true to enable MySQL database, or false (default) to use SQLite
MySQL: false
# this is your MySQL database server host name
host: localhost
# this is the port of your MySQL database (usually 3306)
port: 3306
# this is the name of your database/schema (you must create the database/schema first)
name: saveinventory
# username and password to log in to the database
username: root
password: root
# this is the character encoding you set for your database/schema
encoding: utf8
# setting useSSL to true can add extra security if your server supports it
useSSL: false配置说明
bStats: true- 用于帮助作者统计服务器版本使用情况。原说明建议保持为
true。
SavesPerPlayer: 10- 每位玩家最多保留的背包备份数量。
- 超出后会优先删除最旧的备份。
BackupOnJoin: false- 玩家登录时自动备份其背包和末影箱。
BackupOnDeath: false- 玩家死亡时自动备份其背包和末影箱。
BungeeAutoSync: false- 启用后,可在多个 Bungee 服务器之间自动同步玩家背包。
- 需要先正确配置下方的 MySQL 数据库。
- 注意:为避免出现问题,必须在所有 Bungee 服务器上统一修改此设置。
database
MySQL: false- 设为
true以启用 MySQL。 - 设为
false(默认)则使用 SQLite。
host: localhost- MySQL 数据库主机地址。
port: 3306- MySQL 数据库端口,通常为
3306。
name: saveinventory- 数据库 / schema 名称。
- 需要先自行创建该数据库 / schema。
username: root- 数据库登录用户名。
password: root- 数据库登录密码。
encoding: utf8- 数据库 / schema 使用的字符编码。
useSSL: false- 如果你的服务器支持,设为
true可增加额外安全性。
测试支持版本
版本分布
基本信息
插件名称
SaveInventory
作者
PretzelJohn
平台
Bukkit / Spigot
支持版本
1.13 - 1.18
点赞数
未统计
最近版本
暂无数据
-