Skip to content

Chronoside is a text-based multiplayer fantasy role playing game (RPG) developed as a Discord Bot.

License

Notifications You must be signed in to change notification settings

majordwarf/chronoside

Repository files navigation

Chronoside

Chronoside is a text-based multiplayer fantasy role playing game (RPG) developed as a Discord Bot.
This bot was developed as an entry for Discord's Hack Week.

status License GitHub issues


Setup   Help   Testing   Contributing   Contributors


Setup

  • Clone the repository git clone https://github.com/majordwarf/chronoside
  • Navigate inside the repository cd chronoside
  • Install the dependencies ( yarn is recommended ) yarn
  • Setup you mysql server locally
  • Make a copy of config.json.example and rename it to config.json
  • Change the config data inside config.json
  • Run the bot yarn start

Help

YOU WON'T BE ABLE TO EXECUTE ANY COMMANDS WHILE TRAVELLING OR WHEN ON ADVENTURE.
YOU NEED TO EXECUTE A COMMAND WHEN TO TRIGGER THE CHECK IF THE CURRENT ACTIVITY [travelling or adventure] is completed or not.

Commands - ( ! - Prefix )

  • begin - Starts character creator to begin your adventure.

  • farm list - Shows you a list of farm upgrades.
  • farm buy - To buy a farm patch with 50 gold.
  • farm upgrade - Upgrade your current farm level.
  • farm collect - Collect your hourly generated gold from the farm.

  • travel cityName - Travel to the city specified. List of city you can travel -
    • Erysall
    • Qrita
    • Calbury
    • Spawn

  • explore - Explores the current city. You have chance to find hidden loot or encounter mobs while exploring.

  • adventure - Let's you make your character go in a dungeon while begin AFK to gather gold.

  • cheats - Cheat for development debugging process. Arguments available -
    • gainxp amount - Gives you the amount of XP specified.
    • travel cityName - Instant teleport to the city specified.
    • gaingold amount - Gives you the amount of gold specified.
    • battle - Triggers battle with random mobs without needing to explpore.

  • stats - Show the server statistics.

Testing

Contributing

To add a new feature or fix a bug follow the steps -

  • Make sure your local workspace is up-to-date with the main repository.
    • Add the original repository as upstream in you local git remote git remote add upstream https://github.com/majordwarf/chronoside
    • Fetch the latest code git fetch remote upstream master
    • Checkout to your local master branch git checkout master
    • Merge changes from upstream/master to sync git merge upstream/master
  • Create a new branch to work on the new feature or bug via the updated master branch git checkout -b "branch_name"
  • Work on feature/bug and stage all the files to commit it on that branch git add . > git commit -m "Commit Message"
  • Push the branch to your fork git push -u origin branch_name
  • Create a pull request.

Contributors

The Chronoside Bot was developed by @majordwarf, @segalll, and @gcttirth.

About

Chronoside is a text-based multiplayer fantasy role playing game (RPG) developed as a Discord Bot.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published