Darkflame Universe Account Manager

Overview

Darkflame Universe Account Manager

This is a quick and simple web application intended for account creation and management for a DLU instance created by Wincent.

Logo by BlasterBuilder.

Run and Install

  • Clone this repository
  • Install requirements.txt
  • Create credentials.py
# credentials.py

# Make sure this is a long random string
SECRET_KEY = 'long-random-string'

# Replace instances of <> with the database credentials
DB_URL = 'mysql+pymysql://
   
    :
    
     @
     
      /
      
       '
      
     
    
   
  • Create resources.py
# resources.py

# Path to the logo image to display on the application
LOGO = 'logo/logo.png'

# Path to the privacy policy users have to agree to
PRIVACY_POLICY = 'policy/Privacy Policy.pdf'

# Path to the terms of use users have to agree to
TERMS_OF_USE = 'policy/Terms of Use.pdf'
  • Run the application
# Run the python application, with a given port number
flask run --port 5000
# or simply
python app.py

Available Endpoints

There are several available endpoints that are useful to users.

  • /login: Login as an Admin and create CD keys.
  • /activate: Create a new account as a non-admin user. You will require a CD key (which is provided by the admin).
Comments
  • Unable to reach from outside the computer it runs on

    Unable to reach from outside the computer it runs on

    Im using WSL2 and the computer that it runs on is the only one in the network (or outside the network) who can reach the Server through the IP it provides. Everyone else gets "connection time-out"

    opened by Br3akout 5
  • Allow ban/unban and mute/unmute of users from AccountManager

    Allow ban/unban and mute/unmute of users from AccountManager

    Currently you need to enter the game or edit the database to mute or ban a user, and you can currently only unban users by entering the database.

    Having these functions accessible via a web interface would be convenient for server managers.

    opened by MasterEric 3
  • Account Manager issue

    Account Manager issue

    Hello All, I have been using Elocore's guide on Youtube and have got to the part where I run the application, however when I use 'python3 app.py' and copy & paste it into google it comes up a 'refused to connect' error. I don't know whether it is a mistake that I've made whilst following the steps or whether its something that I need to amend on my desktop.

    P.S Sorry if I haven't explained this in enough detail, I'm new to this.

    Thanks in advance.

    opened by Lego458 2
  • Only show legal agreement checkbox when agreement files exist

    Only show legal agreement checkbox when agreement files exist

    Resolves #17

    Currently it checks whether any of the legal agreement files are present and then requires agreement for both, even if one of them is missing. Whether that is acceptable depends on the use case you had in mind. Please let me know what you think this implementation.

    opened by Marcono1234 2
  • Improve README formatting

    Improve README formatting

    Tries to improve the README formatting by:

    • Changing steps to numbered list
    • Indenting code blocks of list points to not disrupt reading flow: | Before | After | | - | - | | | |

    Please let me know if you want anything changed or some of the changes reverted.

    opened by Marcono1234 2
  • Errno98 Adress already in Use

    Errno98 Adress already in Use

    • Serving Flask app 'app' (lazy loading)
    • Environment: production WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.
    • Debug mode: on Traceback (most recent call last): File "app.py", line 561, in run_app() File "app.py", line 557, in run_app app.run(host='0.0.0.0', port=5000) File "/usr/local/lib/python3.8/dist-packages/flask/app.py", line 922, in run run_simple(t.cast(str, host), port, self, **options) File "/usr/local/lib/python3.8/dist-packages/werkzeug/serving.py", line 982, in run_simple s.bind(server_address) OSError: [Errno 98] Address already in use

    anyone know how to fix that?

    opened by Morthi 2
  • Add name management functionality for Characters and Pets

    Add name management functionality for Characters and Pets

    The following PR adds the approve_names route, which pulls all names that are still pending, and allows a GM user to either approve or reject names, updating them in the DB.

    • Adds approve_names template for viewing pending character and pet names
    • Adds functionality to approve or reject names from the interface
    • Adds approve_names get/post routes with appropriate functionality
    • Moves the navbar into its own template to allow for less code duplication

    Open question: Is this the correct way to do name approval? Does anything else need to happen for it to work correctly?

    Fixes #2 Fixes #8

    opened by Lego6245 2
  • Allow for management of custom names

    Allow for management of custom names

    From what I understand, the only way to "approve" a custom name involves editing the DB row for that character to overwrite the pending_name into the name field. It would be convenient for admin users to be able to do this from the AccountManager instead of going into the DB directly.

    opened by Lego6245 2
  • account creation

    account creation

    i got all the way to signing into the server on the browser but apparently i made a mistake when i created my password. is there any way i can fix this without starting this whole process over? i am honestly overwhelmed with all of this...

    opened by TwoJoints666 1
  • Adding SSL support

    Adding SSL support

    The current AccountManager handles passwords and usernames but still uses HTTP. This change changes the webserver so it uses HTTPS instread wuth a self-signed certificate.

    It adds some security to the webserver.

    opened by Elforax 1
  • Add button for copying activation link to clipboard

    Add button for copying activation link to clipboard

    Adds a button for copying the activation link after having created play keys:

    Key generation screenshot

    Clicking the buttons copies the the absolute activation link, e.g. http://localhost:5000/activate/JNNR-VP5Y-RZPP-R1IQ, to the clipboard. It does not look very good, and you do not get any visual feedback when clicking the button (in contrast to what you might be used to from the GitHub UI, or other websites), but it is at least functional. Any feedback is appreciated.

    opened by Marcono1234 1
Owner
null
Installer, package manager, build wrapper and version manager for Piccolo

Piccl Installer, package manager, build wrapper and version manager for Piccolo

null 1 Dec 19, 2021
A simple and easy to use Python's PIP configuration manager, similar to the Arch Linux's Java manager.

PIPCONF - The PIP configuration manager If you need to manage multiple configurations containing indexes and trusted hosts for PIP, this project was m

João Paulo Carvalho 11 Nov 30, 2022
ArinjoyTheDev 1 Jul 17, 2022
Expense-manager - Expense manager with python

Expense_manager TO-DO Source extractor: Credit Card, Wallet Destination extracto

null 1 Feb 13, 2022
A Bot Which Can generate Random Account Based On Your Hits.

AccountGenBot This Bot Can Generate Account With Hits You Save (Randomly) Keyfeatures Join To Use Support Limit Account Generation Using Sql Customiza

DevsExpo 30 Oct 21, 2022
Connect Playground - easy way to fill in your account with production-like objects

Just set of scripts to initialise accpunt with production-like data: A - Basic Distributor Account Initialization INPUT Distributor Account Token ACTI

CloudBlue 5 Jun 25, 2021
Generate Azure Blob Storage account authentication headers for Munki

Azure Blob Storage Authentication for Munki The Azure Blob Storage Middleware allows munki clients to connect securely, and directly to a munki repo h

Oliver Kieselbach 10 Apr 12, 2022
Make your Discord Account Online 24/7!

Online-Forever Make your Discord Account Online 24/7! A Code written in Python that helps you to keep your account 24/7. The main.py is the main file.

SealedSaucer 0 Mar 16, 2022
BinCat is an innovative login system, with which the account you register will be more secure.

BinCat is an innovative login system, with which the account you register will be more secure. This project is inspired by a conventional token system.

Hipotesi 2 May 22, 2022
You can easily send campaigns, e-marketing have actually account using cash will thank you for using our tools, and you can support our Vodafone Cash +201090788026

*** Welcome User Sorry I Mean Hello Brother ✓ Devolper and Design : Mokhtar Abdelkreem ========================================== You Can Follow Us O

Mo Code 1 Nov 3, 2021
An account generator for guilded.gg that I made a while back and decided to bring back up

An account generator for guilded.gg that I made a while back and decided to bring back up

null 8 Nov 17, 2022
A working roblox account generator it doesnt bypass the capcha stuff cuz these didnt showed up in my test runs

A working roblox account generator (state 11.5.2021) it doesnt bypass the capcha stuff cuz these didnt showed up in my test runs

TerrificTable 22 Jan 3, 2023
FBChecker Account using python , package requests and web old facebook

fbcek FBChecker Account using python , package requests and web old facebook using python 3.x apt upgrade -y apt update -y pkg install bash -y pkg ins

XnuxersXploitXen 5 Dec 24, 2022
Graphene Metanode is a locally hosted node for one account and several trading pairs, which uses minimal RAM resources.

Graphene Metanode is a locally hosted node for one account and several trading pairs, which uses minimal RAM resources. It provides the necessary user stream data and order book data for trading in a format one would expect from a centralized exchange API.

litepresence 5 May 8, 2022
It converts ING BANK account historic into a csv file you can import in HomeBank application.

ing2homebank It converts your ING Bank account historic csv file into another csv file you can import in HomeBank application

null 1 Feb 14, 2022
msImpersonate - User account impersonation written in pure Python3

msImpersonate v1.0 msImpersonate is a Python-native user impersonation tool that is capable of impersonating local or network user accounts with valid

Joe Helle 90 Dec 16, 2022
A full-featured, hackable tiling window manager written and configured in Python

A full-featured, hackable tiling window manager written and configured in Python Features Simple, small and extensible. It's easy to write your own la

Qtile 3.8k Dec 31, 2022
Tiling manager which runs on top of EWMH window managers.

PyTyle is an extremely versatile and extensible tiling manager that is meant to be used on top of EWMH window managers. Its feature set was modeled af

null 55 Jul 29, 2021
Attempt at a Windows version of the plotman Chia Plot Manager system

windows plotman: an attempt to get plotman to work on windows THIS IS A BETA. Not ready for production use just yet. Almost, but not quite there yet.

null 59 May 11, 2022