Giter VIP home page Giter VIP logo

catconomy's Introduction

Stats

Anurag's GitHub stats Top Langs

Who am I?

I am Nineko and I live to learn. I try a lot of new things but I also like to make functional software.

Pronouns

cinnamon's pronouns

catconomy's People

Contributors

ninekothecat avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

mcumbrella

catconomy's Issues

cc info command

Add a command that displays the current loaded services' names and the version of the plugin.
Along with misc info.

DBException$FileLocked while reading balance

Describe the bug
The MapDB storage method locks the database file and makes it inaccessible to other plugins, causing the code that gets the player's money to throw org.mapdb.DBException$FileLocked

To Reproduce
Steps to reproduce the behavior:

  1. Execute any code related to getting money from the player. For example, wait in the tab or chest menu
  2. See error

Expected behavior
Any plugin can get the balance normally at any time

Screenshots
Not needed

Server Info (please complete the following information):
—OS: Linux
— Java: openjdk version "11.0.13" 2021-10-19 LTS
—Version 0.0.10

CCLogs
Nothing useful. Just some transactions: https://www.toptal.com/developers/hastebin/gedekukame.css

Server logs
https://www.toptal.com/developers/hastebin/likayeyubo.properties
https://www.toptal.com/developers/hastebin/xafuxasune.yaml

Additional context
It looks like the catconomy command is also unresponsive after that error. I haven't determined further

'/balance' command shouldn't be executed by console

Describe the bug
The plugin is missing necessary sender type check when performing player-only commands. When the /bal command is executed by the console the plugin will throw ClassCastException

To Reproduce
Steps to reproduce the behavior:

  1. Type /bal in the console
  2. See error

Expected behavior
The plugin denied to perform the command and print an error message (e.g. "This command is player-only")

Screenshots
Not needed

Server Info (please complete the following information):
—OS: Linux
— Java: openjdk version "11.0.13" 2021-10-19 LTS
—Version 0.0.10

CCLogs
Not needed

Server logs
https://www.toptal.com/developers/hastebin/ivocusopot.properties

Additional context
None

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.