You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Alex 73fe6e48f6 Refactor bot_char creation + capsulating char- & skill helper fns 4 weeks ago
..
import-tmpl Added full rathena files 4 months ago
pre-re Added full rathena files 4 months ago
re Refactor bot_char creation + capsulating char- & skill helper fns 4 weeks ago
GeoIP.dat Added full rathena files 4 months ago
abra_db.yml Added full rathena files 4 months ago
achievement_db.yml Added full rathena files 4 months ago
achievement_level_db.yml Added full rathena files 4 months ago
attendance.yml Added full rathena files 4 months ago
attr_fix.yml Added full rathena files 4 months ago
battleground_db.yml Added full rathena files 4 months ago
captcha_db.yml Added full rathena files 4 months ago
castle_db.yml Added full rathena files 4 months ago
const.yml Added full rathena files 4 months ago
create_arrow_db.yml Added full rathena files 4 months ago
elemental_db.yml Added full rathena files 4 months ago
enchantgrade.yml Added full rathena files 4 months ago
exp_guild.yml Added full rathena files 4 months ago
exp_homun.yml Added full rathena files 4 months ago
guild_skill_tree.yml Added full rathena files 4 months ago
homunculus_db.yml Added full rathena files 4 months ago
instance_db.yml Added full rathena files 4 months ago
item_cash.yml Added full rathena files 4 months ago
item_combos.yml Added full rathena files 4 months ago
item_db.yml Added full rathena files 4 months ago
item_enchant.yml Added full rathena files 4 months ago
item_group_db.yml Added full rathena files 4 months ago
item_packages.yml Added full rathena files 4 months ago
item_randomopt_db.yml Added full rathena files 4 months ago
item_randomopt_group.yml Added full rathena files 4 months ago
item_reform.yml Added full rathena files 4 months ago
job_stats.yml Added full rathena files 4 months ago
laphine_synthesis.yml Added full rathena files 4 months ago
laphine_upgrade.yml Added full rathena files 4 months ago
level_penalty.yml Added full rathena files 4 months ago
magicmushroom_db.yml Added full rathena files 4 months ago
map_cache.dat Added full rathena files 4 months ago
map_drops.yml Added full rathena files 4 months ago
map_index.txt Added full rathena files 4 months ago
mercenary_db.yml Added full rathena files 4 months ago
mob_chat_db.yml Added full rathena files 4 months ago
mob_db.yml Added full rathena files 4 months ago
mob_item_ratio.yml Added full rathena files 4 months ago
mob_summon.yml Added full rathena files 4 months ago
pet_db.yml Added full rathena files 4 months ago
quest_db.yml Added full rathena files 4 months ago
readme.md Added full rathena files 4 months ago
refine.yml Added full rathena files 4 months ago
reputation.yml Added full rathena files 4 months ago
reputation_group.yml Added full rathena files 4 months ago
size_fix.yml Added full rathena files 4 months ago
skill_changematerial_db.txt Added full rathena files 4 months ago
skill_damage_db.txt Added full rathena files 4 months ago
skill_db.yml Added full rathena files 4 months ago
skill_tree.yml Added full rathena files 4 months ago
spellbook_db.yml Added full rathena files 4 months ago
statpoint.yml Added full rathena files 4 months ago
status.yml Added full rathena files 4 months ago
status_disabled.txt Added full rathena files 4 months ago
stylist.yml Added full rathena files 4 months ago

readme.md

Import Directories

What is the import directory for?

The import/ directory provides a way for you to change your config settings without the need to even touch the main /conf/ and /db/ files.

By placing your custom entries into the import/ directory within these two locations, your core files will not need to have any conflicts resolved when you update your server. You store your changes, and the rest is updated with rAthena.

How does this work?

Think of "import" as in "override". Place only the settings you have changed in the import files, or settings you are "overriding".

For example, when setting up a server there are always a few config settings that users would like to change in order for rAthena to suit their needs. The following example will show you how to use the /db/import/ directory correctly. (for /conf/import/ examples, see /conf/readme.md)

Achievements


We want to add our own custom achievement that can be given to a player via an NPC Script and another that we can give to our GMs.

/db/import/achievement_db.yml

    - Id: 280000
      Group: None
      Name: Emperio
      Reward:
        TitleId: 1035
      Score: 50
    - Id: 280001
      Group: None
      Name: Staff
      Reward:
        TitleId: 1036
      Score: 50

Instances


We want to add our own customized Housing Instance.

/db/import/instance_db.yml

    - Id: 35
      Name: Home
      IdleTimeOut: 900
      Enter:
        Map: 1@home
        X: 24
        Y: 6
      AdditionalMaps:
        - Map: 2@home
        - Map: 3@home

Mob Alias


We want to make Porings look like Baphomet.

/db/import/mob_avail.yml

    - Mob: PORING
      Sprite: BAPHOMET

Custom Maps


We want to add our own custom maps. For this we need to add our map names to import/map_index.txt and then to the import/map_cache.dat file for the Map Server to load.

/db/import/map_index.txt

    1@home	1250
    2@home
    3@home
    ev_has
    shops
    prt_pvp

Item Trade Restrictions


We want to ensure that specific items cannot be traded, sold, dropped, placed in storage, etc.

/db/import/item_db.yml

    - Id: 34000 # Old Green Box
      Trade:
        NoDrop: true
        NoTrade: true
        TradePartner: true
        NoSell: true
        NoCart: true
        NoStorage: true
        NoGuildStorage: true
        NoMail: true
        NoAuction: true
    - Id: 34001 # House Keys
      Trade:
        NoDrop: true
        NoTrade: true
        TradePartner: true
        NoSell: true
        NoCart: true
        NoStorage: true
        NoGuildStorage: true
        NoMail: true
        NoAuction: true
    - Id: 34002 # Reputation Journal
      Trade:
        NoDrop: true
        NoTrade: true
        TradePartner: true
        NoSell: true
        NoCart: true
        NoStorage: true
        NoGuildStorage: true
        NoMail: true
        NoAuction: true

Custom Quests


We want to add our own custom quests to the quest_db.

/db/import/quest_db.yml

    - Id: 89001
      Title: "Reputation Quest"
    - Id: 89002
      Title: "Reputation Quest"

We cannot stress enough how helpful this system is for everyone. The majority of git conflicts will simply go away if users make use of the import/ system.