This project was created in order to emulate what FFXIAH provides for Retail FFXI yet for the Darkstar FFXI Server Emulator. While this project could be adapted to work with any private server, it has been specifically developed with the AfterHours Private Server in mind.
Live Demo
📥 Installation
📝 TODO
darkstar-afterhours recommends PHP v7+ to run.
darkstar-afterhours recommends NGINX v1.11+ to run.
Download and extract the latest release.
Make sure NGINX and PHP are already setup and running, then add the following rewrite rules to your NGINX config. (If you want to use different web server software just convert these rewrite and location deny lines into the appropriate syntax for your web server.)
rewrite ^/(ah|download|help|recipes|shops|users)$ /$1.php last;
rewrite ^/(ah|download|help|recipes|shops|users)/$ /$1.php last;
rewrite ^/(ah|char|item|shops)/([^\?]*)$ /$1.php?id=$2 last;
rewrite ^/recipes/([^\?]*)/([^\?]*)$ /recipes.php?cat=$1&rank=$2 last;
location = /include/config.inc { deny all; }
You will then need to create the extra item_info
table in the darkstar database.
USE dspdb;
CREATE TABLE IF NOT EXISTS `item_info` (
`itemid` int(6) unsigned NOT NULL,
`realname` varchar(128) DEFAULT NULL,
`sortname` varchar(128) NOT NULL,
`description` blob
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
Next you will need to edit the configuration file with your database login information.
$ cp include/config.inc.default include/config.inc
$ vi include/config.inc
Utilize the script found in the scripts
folder to import the FFXIAH item xml into your database.
NOTE: This script will utilize the config.inc
file you setup in the previous step.
$ cd scripts
$ wget http://static.ffxiah.com/files/ffxiah_items.tgz
$ tar xf ffxiah_items.tgz
$ php ffxiah_import_xml.php
After this you would probably want to edit the help.php
and download.php
files to customize them to your liking. The main site logo text is in include/html.inc
. In this same file is the tag within the header, this needs to be changed to the location you are hosting your version of the app.
- User Online Status / Full User List
- Character Profiles
- Implement Mission Status on Character Profiles
- Global Bazaar Page
- Bazaar's on Character Profiles
- Bazaar's on Item Pages
- Properly Color Crafts on Character Profiles when Capped
- Auction House Category Listings
- Auction House Item Information
- Item Tooltips
- Armor/Weapon Tooltips -> Darkstar Database
- Descriptive Items Tooltip -> FFXIAH XML
- Add Latent Effects on Item Tooltips
- Add On Use Effects on Item Tooltips
- Add Items/Key Items to Auto-Translator
- Implement Item Search
- Add Filters to Item Search
- Full Recipe Listings
- Recipes on Item Pages
- Remaster Ingame Icons
- Help/FAQ Section
- Download Section