diff --git a/conf/inter_server.conf b/conf/inter_server.conf index 448b14d05f..3f0bc2f852 100644 --- a/conf/inter_server.conf +++ b/conf/inter_server.conf @@ -1,22 +1,23 @@ /** - * Config for storages + * Config for Storages * - * To access premium storage, use 'openstorage2' script command (except for the default storage). - * If premium storages are added, just copy the structure of storage table then match the table name in this config. + * 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: // (int) Storage ID will be used for 'openstorage2' script command. - name: "" // (string) Storage name will be sent to the client when player open the storage. - table: "" // (string) Name of table where storage is saved, the table stucture is same like default storage name - max: // (int) *optional* Maximum number of storage, MAX_STORAGE will be used if no value defined + id: // (int) Storage ID will be used for script command 'openstorage2'. + name: "" // (string) Storage name will be sent to the client to display on the title bar. + table: "" // (string) Name of table where storage is saved. The table stucture is the same as the default storage table. + max: // (int) *optional* Maximum number of items in storage. MAX_STORAGE will be used if no value is defined. }, // Use comma to add more storages **/ + storages: ( { - // Default storage - // DO NOT CHANGE THIS EXCEPT YOU KNOW WHAT YOU ARE DOING + // Default Storage + // DO NOT CHANGE THIS UNLESS YOU KNOW WHAT YOU ARE DOING id: 0 name: "Storage" table: "storage" diff --git a/doc/script_commands.txt b/doc/script_commands.txt index b75e802804..c3c10f4314 100644 --- a/doc/script_commands.txt +++ b/doc/script_commands.txt @@ -5055,14 +5055,14 @@ window, to avoid any disruption when both windows overlap. *openstorage2 ,{,}; -Just like 'openstorage' command, except this command can open additional storage -by specified 'storage_id'. For storage_id, please read the conf/inter_server.conf -for storages groups. +Just like the 'openstorage' command, except this command can open additional storages +by the specified . For , please read the conf/inter_server.conf +for storage groups. -Values for 'mode' are: +Values for are: STOR_MODE_NONE : Player only can read the storage entries. STOR_MODE_GET : Player can get items from the storage. - STOR_MODE_PUT : Player can put items to the storage. + STOR_MODE_PUT : Player can put items in the storage. Example: if (vip_status(1)) {