npexception / gameanalyticsapi Goto Github PK
View Code? Open in Web Editor NEWAn API to easily use the service of gameanalytics.com in your mod or game
License: MIT License
An API to easily use the service of gameanalytics.com in your mod or game
License: MIT License
The command should then send messages to the chat:
For example maybe https://keen.io/
Make a class that extends ReentrantLock and implements AutoCloseable:
/**
* An auto closeable lock. It can be used to lock blocks of code by using
* try-with-resource instead of having to keep an eye on proper unlock manually.<br>
* <br>
* <b>Usage:</b>
*
* <pre>
* private ACLock myLock = new ACLock();
*
* public void someMethod() {
* try (ACLock acl = myLock.lockAC()) {
* // this block can only be entered by one thread at a time
* doStuffThatNeedsThreadSafety();
* }
* }
* </pre>
*
* @author dirk
* @date 20.07.2015
*
*/
public class ACLock extends ReentrantLock implements AutoCloseable {
private static final long serialVersionUID = -2604054164317029860L;
public ACLock lockAC() {
lock();
return this;
}
@Override
public void close() {
unlock();
}
}
Hey NPE,
Just shooting this error I noted in a clients service:
[de.npe.gameanalytics.EventHandler$RESTHelper:sendData:209]: Failed to send analytics event data. Result of attempt: ok | Authentication hash used: aa505b4994af166bb9cf48a5b5c53c59 | Data sent: [{"install_publisher":"1.8.0_45-b14","install_site":"server","install_campaign":"2.6.32-504.12.2.el6.x86_64","install_adgroup":"amd64","install_ad":"Linux","install_keyword":"server","user_id":"server8f2b19ba-8f0f-4e38-95cf-a4f791957974","session_id":"1456276073039","build":"unspecified"}]
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.