Code Monkey home page Code Monkey logo

easyconomy's Introduction

easyconomy's People

Contributors

forkiesassds avatar geolykt avatar weiiswurstdev avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

easyconomy's Issues

Permission othersBalance was never checked

Hello,
I'm running a server for some friends and I noticed that even if I didn't give them the permission, they could get the account balance of others.
Here is a piece of my config.yml :

enable-logging: false

permissions:
  README: >
    IF YOU WANT THE PLUGIN TO USE PERMISSIONS,
    WRITE THE PERMISSIONS DOWN IN THE "".
    EMPTY QUOTATION MARKS => BALANCE AND OTHERSBALANCE AND PAY FOR EVERYONE
    AND MODIFY FOR OP ONLY
  balance: "ec.balance.self"
  othersBalance: "ec.balance.other"
  pay: "ec.pay"
  modify: "ec.modify"

And a piece of my bPermission config :

default: default
groups:
  default:
    permissions:
    - ec.balance.self
    - ^ec.balance.other
    - ec.pay

I noticed that in src/main/java/dev/wwst/easyconomy/commands/BalanceCommand.java, you check if the player has permissions.balance but never permissions.othersBalance.

I would have liked to fix it myself, but I'm still learning Java and I don't know where to find the librairies to compile your code.

I'm right here if you need further informations :)

Missing explicit License file

There is currently no explicit license, which especially on Github can be problematic and even more so thanks to bukkit's license which makes matters even more complicated, I recommend you to set the license explicitly as otherwise potential contributors may not know what they can do with the application and source.

EC not usable

Hi,
EC seems to to be broken: The chestcommands plugin does not recognize it as eco plugin.
Thanks!
(Endlich mal ein Plugin mit demselben system wie EssX)

Getting the balance of illegal playernames freezes the server

Reason for this is that the plugin is reliant on UUIDs, however for illegal playernames it still queries mojang's database through the Bukkit.getOfflinePlayer(name) method, since that queries the internet it is terribly inefficent for something we know won't get us far. Illegal playernnames are used by plugins such as Towny and are used as an alternative to Banks. These can also be spotted pretty easily as they include illegal characters such as -, $, / or others.

Fixing it would be a significant feat since it would need to be converted in one way or another, however this conversion would be pretty hard as we cannot reconstruct the playername of a UUID.

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.