Geoffrey Django App
 
 
 
 
 
Go to file
Joey Hines 61433c271f All bot commands now have their basic functionality reimplemented
+All commands should return a json or list of jsons
+Basic tests have been added for each command
2018-12-18 12:13:14 -06:00
api All bot commands now have their basic functionality reimplemented 2018-12-18 12:13:14 -06:00
assets/bots Bot now runs in its own screen 2018-12-01 20:17:19 -06:00
migrations Added command API and bot 2018-11-21 20:09:30 -06:00
static/GeoffreyApp/css Few more tweaks to UI 2018-12-15 15:12:17 -06:00
templates/GeoffreyApp Few more tweaks to UI 2018-12-15 15:12:17 -06:00
test All bot commands now have their basic functionality reimplemented 2018-12-18 12:13:14 -06:00
.gitignore Initial Commit for v2 2018-10-26 18:42:53 -05:00
LICENSE Create LICENSE 2018-10-03 11:03:17 -05:00
README Added a readme txt file for sdist 2018-09-13 11:48:34 -05:00
README.md ?help in a private message no longer gives "I send you some help in the DMs" message 2018-09-21 21:08:14 -05:00
__init__.py Bot now runs in its own screen 2018-12-01 20:17:19 -06:00
admin.py Initial Commit for v2 2018-10-26 18:42:53 -05:00
apps.py First pass on username update background task 2018-12-15 16:00:45 -06:00
background_tasks.py First pass on username update background task 2018-12-15 16:00:45 -06:00
errors.py Added interface for the MCM Model api 2018-12-17 10:02:43 -06:00
mcm_api.py Moved test cases to their own directory 2018-12-17 10:13:37 -06:00
minecraft_api.py Added interface for the MCM Model api 2018-12-17 10:02:43 -06:00
models.py All bot commands now have their basic functionality reimplemented 2018-12-18 12:13:14 -06:00
urls.py Incredibly basic first pass of a website for Geoffrey 2018-12-13 19:58:59 -06:00
views.py Few more tweaks to UI 2018-12-15 15:12:17 -06:00

README.md

Geoffrey: A Discord Bot for Minecraft Servers

Geoffrey was created to be an information source for base and shop locations on Minecraft severs. The bot mainly tracks base, shop, and tunnel locations. This allows for users to quickly find each other's builds and find shops selling goods.

Geoffrey can be used on a Discord server or in a private message with the bot.

Information

Geoffrey was written in python and uses the Discord.py rewrite to interface with Discord and SQLAlchemy for database access.

Adding a base

First you must register with the bot if you are a new user.

?register

This allows Geoffrey to link your MC name with your Discord account.

Then you can add your first base:

?add_base 500 550

Your first base does not need a name, it defaults to "[Username]'s Base"

If you want to specify a name:

?add_base 500 550 My New Base

To delete a base:

?delete "My Base"

Adding a shop

A shop can be added like a base:

?add_shop 500 550

or

?add_shop 500 550 Cool Shop

The following command then adds dirt to the shop with the price of 5 dirt for 1 diamond:

?add_item Dirt 5 1 

Then you could delete that entry by:

?delete_item dirt

To delete a shop:

?delete "My shop"

Adding a shop

If you have more than one shop, you need to specify the shop name.

Searching in the database

The ?find command is used to find bases and shops in Geoffrey. ?find searches for both location names and owner names:

?find ZeroHD

Then to find out more info about a location, use ?info:

?info ZeroHD's Base

?selling can be used to find items for sale. Tip is better search for a subset of the item name. ig for enderchests search ender:

?selling ender

You can also search around a position for locations with ?find_around:

?find_around 0 0

Editing Locations

To rename a base/shop you can do the following (the quotations around the location names are important!):

?edit_name "Cool New Name" "Current Name"

To move a location's position, use ?edit_pos

?edit_pos 420 69 Cool Base

To change the tunnel of a base, use ?edit_tunnel:

?edit_tunnel North 545