Giter Site home page Giter Site logo

mcbouncer's People

Contributors

amaranth avatar deaygo avatar dependabot[bot] avatar joealcorn avatar pdaian avatar yetanotherx avatar zml2008 avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar

mcbouncer's Issues

TODO list

Guide:

  • Need to be finished before release
  • Completed items
  • Can wait until after release

  • Backups w/ restore
  • Unit tests
  • Verify that global notes are seen as such
  • Documentation
  • Find some better homepage icons
  • Timeline
  • Admin interface
  • Forum
  • Imports
  • Disable server
  • Numeric usernames
  • <13 year olds in privacy policy

getIPBans doesn't return the date a ban was issued

Right now the response you get from the API looks something like this:

{'totalcount': 1, 'data': [{'ip': '8.8.8.8', 'reason': 'Go away, Google', 'server': 'minecraft.lethal-zone.eu', 'issuer': 'morrolan'}], 'page': 0, 'success': True, 'error': ''}

As can be seen, the response does not contain the date a specific IP ban was issued.
Since the date a player ban was issued does get shown, I suppose that's not intended behaviour. :)

Full listing of server bans?

At some point, could a full listing of all bans for a server be added to the API? As it stands the only way to get all bans for a server is to ping the API for each user ever connected and check them. A list of users currently banned from the server updated on request would be wonderful.

Users are getting disconnected when api is down

How can I avoid this?

2013-03-20 15:06:19 [SEVERE] java.net.UnknownHostException: www.mcbouncer.com: Name or service not known
2013-03-20 15:06:19 [SEVERE]    at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method)
2013-03-20 15:06:19 [SEVERE]    at java.net.InetAddress$1.lookupAllHostAddr(Unknown Source)
2013-03-20 15:06:19 [SEVERE]    at java.net.InetAddress.getAddressesFromNameService(Unknown Source)
2013-03-20 15:06:19 [SEVERE]    at java.net.InetAddress.getAllByName0(Unknown Source)
2013-03-20 15:06:19 [SEVERE]    at java.net.InetAddress.getAllByName(Unknown Source)
2013-03-20 15:06:19 [SEVERE]    at java.net.InetAddress.getAllByName(Unknown Source)
2013-03-20 15:06:19 [SEVERE]    at org.apache.http.impl.conn.DefaultClientConnectionOperator.resolveHostname(Unknown Source)
2013-03-20 15:06:19 [SEVERE]    at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(Unknown Source)
2013-03-20 15:06:19 [SEVERE]    at org.apache.http.impl.conn.AbstractPoolEntry.open(Unknown Source)
2013-03-20 15:06:19 [SEVERE]    at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(Unknown Source)
2013-03-20 15:06:19 [SEVERE]    at org.apache.http.impl.client.DefaultRequestDirector.tryConnect(Unknown Source)
2013-03-20 15:06:19 [SEVERE]    at org.apache.http.impl.client.DefaultRequestDirector.execute(Unknown Source)
2013-03-20 15:06:19 [SEVERE]    at org.apache.http.impl.client.AbstractHttpClient.execute(Unknown Source)
2013-03-20 15:06:19 [SEVERE]    at org.apache.http.impl.client.AbstractHttpClient.execute(Unknown Source)
2013-03-20 15:06:19 [SEVERE]    at org.apache.http.impl.client.AbstractHttpClient.execute(Unknown Source)
2013-03-20 15:06:19 [SEVERE]    at com.mcbouncer.http.Transport.sendURL(Unknown Source)
2013-03-20 15:06:19 [SEVERE]    at com.mcbouncer.api.MCBouncerAPI.getAPIURL(Unknown Source)
2013-03-20 15:06:19 [SEVERE]    at com.mcbouncer.api.MCBouncerAPI.updateUser(Unknown Source)
2013-03-20 15:06:19 [SEVERE]    at com.mcbouncer.event.listener.JoinListener.onEvent(Unknown Source)
2013-03-20 15:06:19 [SEVERE]    at com.mcbouncer.event.listener.JoinListener.onEvent(Unknown Source)
2013-03-20 15:06:19 [SEVERE]    at net.lahwran.fevents.MCBEventHandler.callEvent(Unknown Source)
2013-03-20 15:06:19 [SEVERE]    at com.mcbouncer.bukkit.BukkitPlayerListener.onPlayerPreLoginAsync(Unknown Source)
2013-03-20 15:06:19 [SEVERE]    at sun.reflect.GeneratedMethodAccessor78.invoke(Unknown Source)
2013-03-20 15:06:19 [SEVERE]    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
2013-03-20 15:06:19 [SEVERE]    at java.lang.reflect.Method.invoke(Unknown Source)
2013-03-20 15:06:19 [SEVERE]    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:392)
2013-03-20 15:06:19 [SEVERE]    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
2013-03-20 15:06:19 [SEVERE]    at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477)
2013-03-20 15:06:19 [SEVERE]    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:459)
2013-03-20 15:06:19 [SEVERE]    at iu.run(ThreadLoginVerifier.java:96)
2013-03-20 15:06:19 [SEVERE] [MCBouncer] MCBouncer timed out while looking up: recon_
2013-03-20 15:06:19 [INFO] Disconnecting recon_ [/XX.XX.XX.XX:51915]: MCBouncer timeout.
2013-03-20 15:06:28 recon_ [/XX.XX.XX.XX:51915] lost connection

Temporary timed bans?

Would it be possible to implement temporary timed bans at some point? These bans would automatically expire after a set amount of time. Certain punishments do not warrant a permanent ban, and it is much less administrative overhead to have such bans automatically expire, rather than manually removing them after a time.

[Suggestion] Option to disable lookups

What about an option to completly disable the lookups?
I want to get rid of the exceptions and the waiting time if the api is down.
Also you don't really need the lookups on whitelisted servers since most owners are checking players before accepting them.

If not I will just add it for my own server.

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.