Cleaned up Storage Database documentation (#4521)

* Adjusted documentation to match standard.
* Removed double quote from Table as there are no special characters used for these.
* Added license to import file.
This commit is contained in:
Aleos 2020-01-13 08:12:25 -05:00 committed by GitHub
parent 939761a02d
commit 3142863a13
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 48 additions and 22 deletions

View File

@ -1,15 +1,37 @@
# Config for Storages
# This file is a part of rAthena.
# Copyright(C) 2017 rAthena Development Team
# https://rathena.org - https://github.com/rathena
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
##########################################################################
# Storage Database
##########################################################################
#
# Storage Settings
#
##########################################################################
# - ID Storage ID.
# Name Storage name that will be sent to the client to display on the title bar.
# Table Name of SQL table where storage is saved. The table structure is the same as the default storage table.
# Max Maximum number of items. (Default: MAX_STORAGE)
###########################################################################
# To access the premium storage, use script command 'openstorage2'.
# If premium storages are added, copy the structure of the storage table and match the table name in this config.
# The 'max' of premium storages are not adjusted by 'vip_storage_increase' config nor MIN_STORAGE.
#
# Structure:
# - ID: <storage_id> // (int) Storage ID will be used for script command 'openstorage2'.
# Name: "<storage name>" // (string) Storage name will be sent to the client to display on the title bar.
# Table: "<storage_table>" // (string) Name of table where storage is saved. The table stucture is the same as the default storage table.
# Max: <max_amount> // (int) *optional* Maximum number of items in storage. MAX_STORAGE will be used if no value is defined.
###############################################################################################################################################
# If more premium storages are added, copy the structure of the storage table and match the table name in this config.
# The 'Max' of premium storages are not adjusted by 'vip_storage_increase' config nor MIN_STORAGE.
###########################################################################
Header:
Type: INTER_SERVER_DB
Version: 1
@ -17,5 +39,5 @@ Header:
#Body:
# - ID: 1
# Name: "VIP Storage"
# Table: "vip_storage"
# Table: vip_storage
# Max: 300

View File

@ -15,18 +15,22 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
##########################################################################
# Storage Database
##########################################################################
#
# Storage Settings
#
##########################################################################
# - ID Storage ID.
# Name Storage name that will be sent to the client to display on the title bar.
# Table Name of SQL table where storage is saved. The table structure is the same as the default storage table.
# Max Maximum number of items. (Default: MAX_STORAGE)
###########################################################################
# Config for Storages
#
# To access the premium storage, use script command 'openstorage2'.
# If premium storages are added, copy the structure of the storage table and match the table name in this config.
# The 'max' of premium storages are not adjusted by 'vip_storage_increase' config nor MIN_STORAGE.
#
# Structure:
# - ID: <storage_id> // (int) Storage ID will be used for script command 'openstorage2'.
# Name: "<storage name>" // (string) Storage name will be sent to the client to display on the title bar.
# Table: "<storage_table>" // (string) Name of table where storage is saved. The table stucture is the same as the default storage table.
# Max: <max_amount> // (int) *optional* Maximum number of items in storage. MAX_STORAGE will be used if no value is defined.
# If more premium storages are added, copy the structure of the storage table and match the table name in this config.
# The 'Max' of premium storages are not adjusted by 'vip_storage_increase' config nor MIN_STORAGE.
###########################################################################
Header:
Type: INTER_SERVER_DB
@ -35,7 +39,7 @@ Header:
Body:
- ID: 0
Name: "Storage"
Table: "storage"
Table: storage
Footer:
Imports: