Giter VIP home page Giter VIP logo

valhallarpg's Introduction

Valhalla RPG*

Discord Bot RPG game inspired by many RPGs and cRPGs featuring adventures, quests, character development, PvP, riddles to solve, loot, inventory, training system, and storyline.

*Working title, work in progress

Technology

This bot uses discord.js which is a Node.js module that allows to interact with the Discord API. All code is written in JavaScript language. It also uses dotenv and fs dependiencies for holding your Discord token out of sight and for easy file management. All user data is stored in .json files.

Basic commands

  • register allows you to register your character and start the game,
  • char shows your character skills and balance,
  • eq shows your character inventory,
  • map shows known locations for adventure
  • craft shows a list of known recipes and lets you craft items
  • adventure lets you to start an adventure in order to progress in the story,
  • help shows a list of all commands that the user can use along with desriptions.

Usage (self hosting only for now)

  1. Make a bot
    Go to https://discord.com/developers and select the new application button, then once you created a new application convert it into a bot by clicking the bot setting.
  2. Invite the bot to your server
    While on https://discord.com/developers in OAuth2 tab select "bot" scope and grant it all the permissions (in the future this will be changed to just requierd ones). Go to the generated URL and invite bot to your server.
  3. Download dependencies
    Run npm install in the terminal to download required dependencies.
  4. Make a .env file
    In the main folder create .env file and paste in your token from previous website.
    DISCORD_TOKEN = <replace this all with your token>
  5. Run the bot!
    In the terminal type node . and your bot will start right up!

Commands (with their current state of development)

  • register - name your character and start the game
  • char - show character summary including skills, balance and PvP points.
  • eq - show character inventory
  • item - show item description and value
  • use - move item between inventories
  • hide - move item between inventories
  • sell - sell item
  • drop - drop item irretrievably
  • upgrade - upgrade item
  • training - train your training skill
  • craft - see list of known recipes and craft them
  • map - see list of avaliable locations
  • adventure - start adventure
  • spyglass - see nearby players
  • attack - attack nearby player
  • lake - go to the lake
  • bait - cast the rod
  • feq - show fishing basket
  • catch - catch fish
  • move - move item between fishing basket and inventory
  • rank - show PvP ranking
  • achiev - show list of achivements
  • return - stop adventure

valhallarpg's People

Contributors

bartoszsdr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

valhallarpg's Issues

Polish

Hello,
Why all the game is in Polish? How can I switch to English?
Thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.