Giter Site home page Giter Site logo

voxelgameslib / voxelgameslibv2 Goto Github PK

View Code? Open in Web Editor NEW
72.0 8.0 15.0 217.24 MB

Powerful, feature-packed, abstract and expandable Minecraft minigames framework.

Home Page: https://github.com/VoxelGamesLib/VoxelGamesLibv2

License: MIT License

Java 96.58% CSS 1.76% Shell 0.51% Python 0.68% Kotlin 0.46%
minecraft minigames spigot bukkit java modular data-driven voxelgameslib

voxelgameslibv2's Introduction

VoxelGamesLib v2

pipeline status codebeat badge license Coding time tracker

Powerful, feature-packed, abstract and expandable Minecraft minigames framework.

Download

You can always download the latest version here.

Documentation

Documentation is located here
Javadocs can be found here

Building

VoxelGamesLib uses Maven as our build system. To compile:

  • Install Git and Maven
  • Clone the repository
  • Run git submodule update --init --recursive to clone all submodule if you want to
  • Run mvn

Chat

You can find the active contributors on IRC or Discord. IRC: irc.spi.gt #minidigger (or webchat).

Repository

The repository is located at https://repo.minidigger.me/repository/voxelgameslib/

Gradle:

repositories {
    maven { url 'https://repo.minidigger.me/repository/voxelgameslib/' }
}

dependencies {
    compileOnly group: 'com.voxelgameslib', name: 'voxelgameslib', version: '1.0.0-SNAPSHOT'
}

Maven:

<repositories>
    <repository>
        <id>voxelgameslib</id>
        <url>https://repo.minidigger.me/repository/maven-public/</url>
    </repository>
</repositories>


Contributing

We welcome and encourage contributions to VGL. All development happens in the open, here on GitHub. Thanks to all our contributors for new features, bug fixes and other improvements.

For contributing information, see: Contributing.md

Dependency report can be found here
Test results can be found here here

License

MIT

voxelgameslibv2's People

Contributors

bramhaag avatar brunosilvafreire avatar coreyshupe avatar dependabot-preview[bot] avatar dependabot-support avatar dependabot[bot] avatar itsaphel avatar kashike avatar minidigger avatar ronnielsen avatar simpleauthority avatar sxtanna avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

voxelgameslibv2's Issues

unregister the /reload command

it messes up everything

unregister the command. perhaps override it with a notice to inform why /reload is removed so people don't freak

Game duration

Phase need to maintain its own duration, pass it over at game end to the event.
Use javas new time api

Fix CME while disableing a tick handler

java.util.ConcurrentModificationException
	at java.util.ArrayList.forEach(ArrayList.java:1252)
	at me.minidigger.voxelgameslib.tick.TickHandler.tick(TickHandler.java:34)
	at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftTask.run(CraftTask.java:71)
	at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:353)
	at net.minecraft.server.v1_12_R1.MinecraftServer.D(MinecraftServer.java:738)
	at net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:405)
	at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:678)
	at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:576)
	at java.lang.Thread.run(Thread.java:748)```

we need some kind of remove queue

MySQL SSL warning

Wed Jun 21 21:05:43 CEST 2017 WARN: Establishing SSL connection without server's identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requirements SSL connection must be established by default if explicit option isn't set. For compliance with existing applications not using SSL the verifyServerCertificate property is set to 'false'. You need either to explicitly disable SSL by setting useSSL=false, or set useSSL=true and provide truststore for server certificate verification.

com.google.inject.ProvisionException in InjectorImpl.java:1028

Error in VoxelGamesLib

com.google.inject.ProvisionException in InjectorImpl.java:1028
Unable to provision, see the following errors:

  1. null returned by binding at me.minidigger.voxelgameslib.VoxelGamesLibModule.configure(VoxelGamesLibModule.java:66)
    but me.minidigger.voxelgameslib.world.WorldCreator.config(WorldCreator.java:39) is not @nullable
    while locating me.minidigger.voxelgameslib.world.WorldHandler
    while locating me.minidigger.voxelgameslib.world.WorldConfig
    for field at me.minidigger.voxelgameslib.world.WorldCreator.config(WorldCreator.java:39)
    at me.minidigger.voxelgameslib.world.WorldCreator.class(WorldCreator.java:39)
    while locating me.minidigger.voxelgameslib.world.WorldCreator

1 error

View on Bugsnag

Stacktrace

InjectorImpl.java:1028 - com.google.inject.internal.InjectorImpl$2.get

View full stacktrace

com.google.inject.ProvisionException in InjectorImpl.java:1028

Error in VoxelGamesLib

com.google.inject.ProvisionException in InjectorImpl.java:1028
Unable to provision, see the following errors:

  1. Error injecting constructor, java.lang.NullPointerException
    at me.minidigger.voxelgameslib.signs.SignListener.(SignListener.java:24)
    while locating me.minidigger.voxelgameslib.signs.SignListener

1 error

View on Bugsnag

Stacktrace

InjectorImpl.java:1028 - com.google.inject.internal.InjectorImpl$2.get

View full stacktrace

todos

rather than creating an issue per issue...

  • support more than 1 game of a specific gamemode running at once
  • player states changed by the game or its phases (e.g. gamemode, inventory) should be reversed to their pre-change state when the game ends.
  • persist statistics and analytical data (#44)

stats and analytics

persist stats and analytics.

save useful data relating to teams, kits, gamemodes (most played, etc.) and other player actions.

can't start new games after a previous game was aborted

error:

[02:37:43 INFO]: fusedaphelion issued server command: /game start hideandseek
[02:37:43 FINER]: [VoxelGamesLib] start phaseLobbyPhase
[02:37:43 FINER]: [VoxelGamesLib] TextComponent{content=, children=[TextComponent{content=[ADMIN] , children=[TextComponent{content=fusedaphelion, children=[], color=null, obfuscated=null, bold=null, strikethrough=null, underlined=null, italic=null, clickEvent=null, hoverEvent=null, insertion=null}], color=red, obfuscated=null, bold=null, strikethrough=null, underlined=null, italic=null, clickEvent=null, hoverEvent=null, insertion=null}, TextComponent{content=, children=[], color=null, obfuscated=null, bold=null, strikethrough=null, underlined=null, italic=null, clickEvent=null, hoverEvent=null, insertion=null}], color=null, obfuscated=null, bold=null, strikethrough=null, underlined=null, italic=null, clickEvent=null, hoverEvent=null, insertion=null} joined the game HideAndSeek
[02:37:43 FINER]: [VoxelGamesLib] stop phase LobbyPhase
[02:37:43 FINER]: [VoxelGamesLib] start phaseVotePhase
[02:37:43 FINER]: [VoxelGamesLib] stop phase VotePhase
[02:37:43 FINER]: [VoxelGamesLib] start phaseHidingPhase
[02:37:44 FINER]: [VoxelGamesLib] stop phase HidingPhase
[02:37:44 FINER]: [VoxelGamesLib] start phaseHideAndSeekPhase
[02:37:44 FINER]: [VoxelGamesLib] stop phase HideAndSeekPhase
[02:37:44 WARNING]: [VoxelGamesLib] Game finished without a winner?!
[02:37:44 FINER]: [VoxelGamesLib] abort  game
[02:37:44 FINER]: [VoxelGamesLib] TextComponent{content=, children=[TextComponent{content=[ADMIN] , children=[TextComponent{content=fusedaphelion, children=[], color=null, obfuscated=null, bold=null, strikethrough=null, underlined=null, italic=null, clickEvent=null, hoverEvent=null, insertion=null}], color=red, obfuscated=null, bold=null, strikethrough=null, underlined=null, italic=null, clickEvent=null, hoverEvent=null, insertion=null}, TextComponent{content=, children=[], color=null, obfuscated=null, bold=null, strikethrough=null, underlined=null, italic=null, clickEvent=null, hoverEvent=null, insertion=null}], color=null, obfuscated=null, bold=null, strikethrough=null, underlined=null, italic=null, clickEvent=null, hoverEvent=null, insertion=null} left the game HideAndSeek
[02:37:44 FINER]: [VoxelGamesLib] stop phase HideAndSeekPhase
[02:37:44 WARNING]: [VoxelGamesLib] Task #4 for VoxelGamesLib v2.0-SNAPSHOT generated an exception
java.util.ConcurrentModificationException
	at java.util.ArrayList.forEach(ArrayList.java:1252)
	at me.minidigger.voxelgameslib.tick.TickHandler.tick(TickHandler.java:34)
	at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftTask.run(CraftTask.java:71)
	at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:353)
	at net.minecraft.server.v1_12_R1.MinecraftServer.D(MinecraftServer.java:738)
	at net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:405)
	at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:678)
	at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:576)
	at java.lang.Thread.run(Thread.java:748)

it just instantly cycles through all phases and aborts the game.

Migration Stuff

  • copy everything into the project, lol
  • migrate event api
  • migrate command api
    • test all commands/subcommand/completions
    • add help commands
  • migrate/rewrite lang api (and use text over bungee-chat while at it)
  • migrate scoreboard api
  • migrate/rewrite persistence (see #41)
  • let config use gson versioning

hibernate, i said i fixed...

i didnt really

i just created rows with all of the locales

vgl isn't creating them, hence shit tons of fucking hibernate errors that break everything

we gotta persist locales, and roles for that matter (fiddling with roles rn)

Hibernate models

Time to start creating models, or "entities" rather, for various things.

  • GamePlayer
  • Games (with their statistics and relevant data)

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.