Coder Social home page Coder Social logo

discordeconomybridge's Introduction

THIS README IS OUTDATED, PLEASE USE THE DOCUMENT ON https://www.spigotmc.org/resources/discord-economy-bridge-1-7-1-16.90290/

DiscordEconomyBridge

  • This is a plugin for having shortcut commands inside discord to control economy
  • Note that this plugin won't work with offline users if the server is in offline environment (but should work with bungee online mode)

TODO:

  • Tell me something todo

Please suggest features

Dependencies

  • Vault
  • An economy plugin that supports Vault

Features

  • Add/Remove money from player trough discord
  • Check player's balance trough discord (offline checking only works for online mode servers!)
  • Custom command creation with placeholders
  • All inbuilt command responses are customizable (with a custom embed builder in config.yml)

Bot commands

  • help - Shows all the available commands
  • bal, balance - Shows the balance of a player.
  • addmoney - Adds money to the specified player's balance
  • removemoney, remmoney - Removes money from the specified player's balance
  • leaderboard, lb, top - Shows the top 10 richest players on the server!

Installation

Making a discord bot account

  • Go to https://discordapp.com/developers/applications/me
  • Create a new application
  • Name your application whatever you want and click create
  • Now go to Bot settings and click Add Bot button and click Yes, do it!
  • Now if you want you can change the profile picture of the bot here but what we are here for is the token
  • So click copy to get the token, we will need this for later

Setting up the plugin

  • Load up the server with the plugin, this should generate config.yml in the plugins/DiscordEconomyBridge folder
  • In config.yml in TOKEN field change BOT_TOKEN to the token you just copied
  • Now restart the server, and the bot should be online

discordeconomybridge's People

Contributors

pliexe avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

1nxte11

discordeconomybridge's Issues

Bug with coinflip acceptation.

When we use coinflip against another person, if the person accept the buttons won't disappear and the person can accept many times he wants, and every accept is a new game so if the person A win the first game, person B can re-click on accept and win too.

Another thing is if the person B decline, he can re-accept and re-decline so he can use the button everytime.

%player_name% appear everywhere

When I do some commands (with slash or prefix), It doesn't show correctly names and show "%player_name%" ^^'
PS: I'm using it with DiscordSRV I don't know if that count ^^'

image

Custom commands issues

I've tried to change default "work" command to another word and it stopped working

Also I've tried to set cooldown for "work" command and it also doesn't work

Cooldown for custom command with the same logic and custom name also no luck

Also custom command, I've tried to create doesn't work in discord bot

Tested on [email protected]

Coinflip thief

I love all the game but I noticed a bug with the coinflip.

First, I think all the player have to accept the coinflip, because my players are able to thief money to other players.
If player A has 500 000 and player B has 400 000, player B coinflip player A with a wager of 400 000 and win, player A is ruined even if he don't want to play the game.

Second thing is player is able to create money with coinflip.
If Player A coinflip player B with 500 000 and win, player A will have 1 000 000 but player B will have 400 000 because the plugin can't remove him 500 000 so in this case, 500 000 of money is created ^^'

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.