GithubHelp home page GithubHelp logo

auradevelopmentteam / aurablocklimit Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 3.0 226 KB

Simple plugin to limit how many of a type of block a player can place

License: GNU General Public License v3.0

Groovy 0.68% Java 99.32%

aurablocklimit's People

Contributors

brainstone avatar feniksovich avatar zsn741656478 avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

aurablocklimit's Issues

Errors in console

Issue Description:

Weird errors show up in console, happens when players disconnect and when reloading the plugin.

Config also reset after restart.

Affected Versions (Do not use "latest"):

Minecraft: 1.12.2
SpongeAPI: 7.1.0-859d9176
Sponge: 1.12.2-7.1.5-SNAPSHOT
SpongeForge: 1.12.2-2768-7.1.5-RC3526
Minecraft Forge: 14.23.5.2796

Your most recent log or stack trace file where the issue was present:

https://media.discordapp.net/attachments/514355493221957642/538934794302521377/f93e502f9ccfdfa3293e7e34f379078e.png?width=1920&height=365

org.h2.jdbc.JdbcSQLException: Value too long for column "BLOCK VARCHAR(128) NOT NULL"

Issue Description:

An SQL excpetion occurs when a block name is longer thatn 128 chars.

What happens:

org.h2.jdbc.JdbcSQLException: Value too long for column "BLOCK VARCHAR(128) NOT NULL" in console.

What you expected to happen:

No errors.

Steps to reproduce:

  1. Break or place a block with a very long name and that has a limit or -1
  2. Let it save
  3. Error

Affected Versions:

  • Minecraft: 1.12.2
  • AuraBlockLimit: 1.0.3.30 (and earlier)
  • Sponge: pongevanilla 1.12.2 7.1.0-BETA-120

Your most recent log or stack trace file where the issue was present:

Error

can you add day count function

Just limit the number of placing block in one day.
clear the count next day

this function is useful to PokeLucky Mod.

[Enhancement] Forcing the block limit.

Hello, I don't know if it's a bug or how the plugin works but i've an idea to make the plugin better.

For example if you set X block's limit into 3 and somehow he breaks 5 of these blocks his limit goes up to 5 instead of 3. It's bad in some situations, for example if i limit X block after i open t he server and people already have ton of them when they break those blocks their block limit goes up and up.

It'd be really good if the plugin can Force the limit by 3 if it's set to 3 no matter how many blocks they break

Plugin saves a block count of 0 even if the block is supposed to be ignored

Issue Description:

The database grows even if storage.ignoreUnset is true or the value for the block is -2.

What happens:

The plugin records these blocks as 0 and stores them in the database.

What you expected to happen:

The blocks not being recorded and stored in the database.

Steps to reproduce:

  1. Set storage.ignoreUnset to true
  2. Login and place and break blocks that don't have a limit
  3. Check database and see all these blocks being recorded with a count of 0

Affected Versions (Do not use "latest"):

  • Minecraft: 1.12.2
  • AuraBlockLimit: 1.0.2.28 (and earlier)
  • Sponge: spongevanilla 1.12.2 7.1.0-BETA-120

Veinminer, Excavator

Basically when someone use veinminer or excavator the plugin can't count it as expected so i think there should be a command like bl limit <player> reset to reset someones blocklimit

New command

I think this plugin needs a command to show every limited item in the server, something like /bl list maybe?

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.