- # ______________
- # | .__. | ___ _ _ ___ _
- # | ._-. | | | | _ \ ___ ___| |_ __ _ | | / __| ___ _ _ __ __(_) __ ___
- # | '""' | | _// _ \(_-<| _|/ _` || | \__ \/ -_)| '_|\ V /| |/ _|/ -_)
- # | -.,-_ | |_| \___//__/ \__|\__,_||_| |___/\___||_| \_/ |_|\__|\___|
- # |______________|
- #
- ####################
- # 配 置 设 置 #
- ####################
- ## 必须在数据库环境下进行,目前支持MySQL
- database:
- user: 数据库用户名
- password: 数据库密码
- host: 127.0.0.1
- port: 3306
- database: 数据库名
- ## 下面自带四种类型邮件
- # false为禁用,true为开启
- # Letters - 纯文字消息
- # Package - 包裹物品
- # Payment - 寄钱 (需要Vault前置以及经济插件)
- # Xp - XP经验点 (不是等级)
- enabled-mail-types:
- letter: true
- package: true
- payment: true
- xp: true
-
- ## Toggle the use of UUIDs 请求翻译
- # If disabled, PostalService will track player data using
- # player names. If the server is running in offline mode,
- # UUIDs will automatically be disabled. To force the use of
- # UUIDS in offline mode, set this to "always".
- use-uuids: true
- ## 打开或关闭更新检查
- # 如果新版本更新,会通知玩家
- # 需要权限才能获得通知 postalservice.update
- #
- # 你可以开关自动下载新版本 true为开启 false为关闭
- # 你可以选择三种更新下载类型
- # - all: 下载更新所有
- # - bugfix: 只在当前版本更新bugfix
- # - none: 禁用所有下载类型
- update-checker:
- enabled: false
- auto-download: none
- ## Turning on debug mode may reveal errors that can be used to help
- # solve problems.
- debug-mode: false
- ##################
- # 世 界 设 置 #
- ##################
- ## 跨世界邮箱
- # 如果你不想玩家跨世界发邮件,互通邮箱
- # 或者三个世界互通,两个世界的邮箱不互通
- # 这个可以做到
- # 例如 scsj和zyworld这两个世界可以互相通用邮箱
- # 而antoworld不可以和scsj/zyworld这两个世界互通邮箱
- # true为开启,false为禁用
- enable-world-groups: false
- world-groups:
- # fullworld:
- # - scsj
- # - zyworld
- #
- # bugwog:
- # - antoworld
- # 需要使用时请设置enable-world-groups为true,并且使用去掉#,然后进行填改
- ## Here you can set certain mail types to ignore world groups and
- # be claimable in all worlds.
- # For example, say all your universes share the same economy.
- # In this case, you may want Payments to ignore world groups so players can
- # send money across universes but may want Packages to stay within world groups
- # so items can't be shared.
- mail-types-that-ignore-world-groups:
- # - payment
- # 请求翻译
-
- ## 黑名单世界
- # 列入黑名单的世界会被禁用邮箱命令和箱子
- # 包括发送接受邮件,打开邮箱,创建等
- world-blacklist:
- - worldname
- - aaaaworld
- #################
- # User Settings #
- #################
- ## 这是每个权限组的最大邮箱数/收件数量大小
- # 未给某用户组的话会默认50
- # This feature requires Vault. If Vault is not present, the default is used
- # for everyone.
- box-sizes:
- default: 50
- builder: 50
- # vip: 75
- ## 将此设置为true,以使玩家在收件箱已满时无法接收邮件。
- # 如果设置为false,旧邮件将自动替换为新邮件。
- # 在这种情况下,旧邮件永远不会被删除
- # 删除其他邮件腾出空间
- hard-enforce-inbox-limit: true
- ## 启用或禁用向玩家显示未读邮件通知
- unread-mail-notifications:
- on-receive-mail: true
- on-login: true
- # 待翻译
- ####################
- # Mailbox Settings #
- ####################
- ## Enable or disable the Mailbox feature
- # Mailboxes are chests that players have registered as a Mailbox.
- # Clicking on these chests will open up the Postal Service main menu
- # GUI where players can view their inbox.
- # If disabled, players can type /mail to access the main menu.
- enable-mailboxes: true
- ## Enable this if you want to require players to be near a mailbox
- # to send mail. Enabling this will also make opening mailboxes the only
- # way to view the main menu GUI.
- require-mailbox: true
- ## This is the max number of mailboxes per permission group.
- # If a permission group is undefined, the default is used.
- # This feature requires Vault. If Vault is not present, the default is used
- # for everyone.
- mailbox-limits:
- default: 5
- # permission-group: 10
- #########################
- # Trading Post Settings #
- #########################
- ## UPCOMING FEATURE! THESE SETTINGS CURRENTLY DO NOTHING ##
- enable-trading-post: false
- require-same-mailbox: false
- allow-cross-world-trades: false
- #########################
- # Localization Settings #
- #########################
- ## Here you can change the pattern used to format the date and time for mail.
- # Learn how to format patterns: http://goo.gl/n8qMk0
- # Then test your pattern here: http://goo.gl/WCaX6i
- date-format: "MMM d, yyyy h:mm a"
- ## This automatically translates month and day names in the date format
- locale-tag: "en-US"
- ## Change the default time zone in which the time is displayed.
- # Players can also change the timezone for themselves individually
- # with the command: /mail timezone <zone>
- time-zone: "UTC"
- ########################################
- # Don't touch please
- config-version: 1.0
复制代码
|