Skip to content

DemiosVayl/Legend-of-the-Green-Dragon

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Legend of the Green Dragon

Legend of the Green Dragon (LotGD) is a text-based RPG originally developed by Eric Stevens and JT Traub, directly based on Seth Able's Legend of the Red Dragon (LoRD). There are numerous versions of the game you can play, with the original core (before this fork) located [here] (http://lotgd.net). The LotGD source code was then passed on to the [DragonPrime Development Team] (http://dragonprime.net) where it was kept up to date until the latest release of 1.1.2. Since the core is outdated, I have taken it upon myself to update the core for future use.

Requirements

  • PHP 7.0
  • MariaDB 10.0 (Or similar MySQL database)
  • Composer

Installation

Before you install, it is best to have an understanding of what a linux server is, how to work with PHP and MySQL, as well as touch up on modern practices such as composer. For this example, we are using Ubuntu Trusty (14.04) and assuming you have all of the required programs installed. You must set up extensionless PHP rewrites for your NGINX or Apache server as well (examples will be included later).

# Install database, using your {user} and {password}.
mysql -u {user} -p{password} -e 'CREATE DATABASE LOTGD;'

# Clone LotGD
cd /var/www
git clone git@github.com:stephenKise/Legend-of-the-Green-Dragon.git

# Navigate to /installer in your browser.

Modules

This forked core, just like it's original source, supports modules. The reason they are not present here is because of the desire to decouple core modules from the core source. Modules should be hosted separate of the game, so that this repository doesn't override any functionality used on multiple servers. You can simply create a module directory yourself, or make a GitHub hosted repository!

cd /var/www/Legend-of-the-Green-Dragon
mkdir modules
# You can stop here and just upload your modules, or create a new repository:
cd modules
echo "# Modules" >> README.md
git init
git add README.md
git commit -m ":dragon: Initial commit for modules!"
# Be sure to replace {username} with your username.
git remote add origin git@github.com:{username}/lotgd-modules.git
git push -u origin master
# You can now push modules into the repository and add them into your sever with 'git pull'!

About

🐉 Legend of the Green Dragon, a BBS Door game!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 90.6%
  • CSS 6.1%
  • HTML 2.0%
  • JavaScript 1.3%