😁
Superior 系列服务端教程
Superior Adventure
Superior Adventure
  • 欢迎
  • 开始
    • 开服准备
    • 进服准备
    • 插件概览
    • 世界概览
    • 基础指令
    • 常见问题
    • Superior Update
  • 世界生成
    • 主世界
  • 游戏玩法
    • 职业
    • 技能
  • 群组
    • 搭建教程
由 GitBook 提供支持
在本页
  • 关闭你的服务器
  • 前期准备
  • 将你的插件连接到 MySQL
  • 特别提醒
  1. 群组

搭建教程

上一页技能

最后更新于3年前

关闭你的服务器

在开始之前,你需要将你的服务器关闭。

前期准备

  • 下载 Superior™ v5 DLC:数据库搭建,并安装到你的服务器内。

  • 下载 MySQL 数据库并安装到你的 VPS。

  • 点击 下载 Navicat 数据库管理软件。

  • 搭建好一个 BungeeCord 服务端。

  • 推荐登录插件:

将你的插件连接到 MySQL

有以下插件需要你连接到 MySQL。在此之前,如果你已经运营过一段时间,那么你可以 这里查看将 .db 文件数据转到 MySQL 数据库的教程。

  • AdvancedChests

打开其 config.yml 并找到如下内容:

  • AlonsoTags

  • AnotherDailyBonus

  • AureliumSkills

  • BeaconPlus3

  • ClueScrolls

  • FancyWaystones

此插件还需要额外配置,见下,将该选项改为 true:

  • HuskHomes

此插件还需要额外配置,见下:

bungee_options:
  enable_bungee_mode: false # 改为 true
  server_id: server # 改为 BC 或者 VE 群组服务器的子服 id
  # 其他的不管
  cluster_id: 0
  messenger_type: pluginmessage
  redis_credentials:
    host: localhost
    port: 6379
    password: ''
    use_ssl: false
  tab_complete_cross_server:
    enabled: true
    delay: 60
  • MCPets

  • LuckPerms

  • Lands

  • PlayerAuction

server-name 选项还需填写子服 id。

  • PlayerCosmetics

  • PlayerPoints

  • Quests

  • SupremeBanks

在 config.yml 中找到。

settings:
  #Player Chat Event listener
  #Options: async, regular
  #With async, you can't open back up inventories so you will need
  #to switch to regular if you wish to do so however async is much faster
  #than regular so beware.
  #SERVER RESTART REQUIRED TO SWITCH
  listener: 'async'
  #Start balance
  start-balance: 0.00
  #Format of the numbers
  format: "###,###,###,###,###.##"
  #Storage Type (h2 or yml or mysql)
  #MySQL is very unstable rn and i dont suggest using it.
  storage: 'h2' # <----- 改成 MySQL
  #Auto Save? if false data will only be saved when server stops
  autosave: 'true'
mysql:
  enabled: false # 改成 true
  user: User
  port: 3306
  password: Password
  host: localhost
  database: Database
  • Upgradeable两兄弟

在 config.yml 中找到。见 Lands 插件的截图。

  • VentureChat

在 config.yml 中找到。

mysql:
  enabled: false # <----- 改成 true
  user: User
  port: 3306
  password: Password
  host: localhost
  database: Database
# Enables or disabled BungeeCord messaging
bungeecordmessaging: false # <----- 改成 true
channels: 
  Global:
#    color: dark_green
    chatcolor: 'NONE'
    mutable: true
    filter: true
    autojoin: true
    default: true
    distance: 0
    cooldown: 0
    bungeecord: false # <----- 改成 true
    alias: g
    permissions: None
    speak_permissions: None
    channel_prefix: ''
    format: '&f{alonsotags_tag_chat}&r{vault_prefix}{player_displayname}:{vault_suffix}'
  • XConomy

在 config.yml 中找到。

Settings:
  #SQLite MySQL
  storage-type: SQLite # <----- 改成 MySQL
  #Use connection pool or not
  #Require 'slf4j' dependencies
  usepool: false
  #Whether to disable saving data asynchronously(SQLite no such setting)
  disable-async: false

#MySQL settings
MySQL:
  host: localhost
  port: 3306
  user: root
  pass: root
  database: data
  #auto add "_", can use %sign% to indicate Server ID (BungeeCord settings)
  table-suffix: ''
  property:
    usessl: false
    encoding: utf8
    timezone: ''
    allowPublicKeyRetrieval: false

特别提醒

所有插件在开启 MySQL 同时还要填写 host(ip)、port、user、pass(word)等信息,其他的不需要修改。

HuskSync 同样需要配置,不再累述。

LuckPerms 提供了非常简便的数据转换方法,详见 。

此插件还需要额外的操作,详见 。

这里
这里
这里
https://polymart.org/resource/librepremium-bungee-velocity.2179
点击