Commit Graph

104 Commits

Author SHA1 Message Date
Shaun Bennett efb264dd75 Hook into Booster API 2016-05-20 16:58:58 +10:00
Shaun Bennett 82d51a896f Add SERVER_STATS to DBPool. Rename STATS to MINEPLEX_STATS 2016-02-19 19:54:06 -06:00
Shaun Bennett 7714e4960c Use DBPool for everything 2016-02-19 00:17:38 -06:00
Shaun Bennett 7715df8e6a Merge pull request #130 in MIN/mineplex from md_5/servermonitor/leak to develop
* commit '55c54eeff4dc72619fc9be1bb724b9dd37804919':
  Fix ServerMonitor not actually removing ServerGroup instances.
2016-01-20 12:24:33 -06:00
md_5 bb4091c7a6 Use Maven for Compilation 2016-01-20 11:20:58 +11:00
md_5 55c54eeff4 Fix ServerMonitor not actually removing ServerGroup instances. 2016-01-17 20:11:25 +11:00
Jonathan Williams 2953fe395f Changed dns api key to new key.
Prevent server monitor redis calls to cause restarts.
Added winter chests to customer support.
2015-12-17 18:33:49 -05:00
Jonathan Williams a292fdb3c5 Added failsafe for ServerMonitor. 2015-10-12 22:26:24 -05:00
Jonathan Williams 631bd9cfa6 Removed sale notification.
Removed queue create table query.

Added try-catch for ServerMonitor to prevent stat storage from affecting normal operation.
2015-10-01 07:38:59 -07:00
Jonathan Williams ee5934c7aa Fix for punishments to match names exactly
Fix for expiring ranks.
Fix for EU Lobby count.
2015-09-26 18:31:37 -04:00
Jonathan Williams 4ad95b54cf Updated ServerMonitor status reporting for network. 2015-09-05 01:53:37 -07:00
Jonathan Williams 921292a5c6 Added timings capture and server log copy on server kill inside server monitor. 2015-09-03 09:38:26 -07:00
Ty Sayers 088068be80 Add 'Clans' to the ignored server groups for ServerMonitor to prevent interference with live Clans servers. 2015-08-29 14:51:17 -07:00
Jonathan Williams ab20d35917 Wipe personal server groups on restart of monitor.
Cleanup of unused code.
2015-08-03 08:08:51 -05:00
Jonathan Williams 77a63f72cc Updated staff server white list. 2015-07-09 11:07:16 -05:00
Jonathan Williams c454973398 Changed login deets for new new db cluster. 2015-04-14 01:59:29 -05:00
Jonathan Williams aa089314f0 Completely removed Testing group from dead checks and laggy checks in server monitor. 2015-04-03 01:56:36 -07:00
Jonathan Williams fb4be35dfe Let admins apply youtube rank.
Limit Lobby count to 250.
2015-04-02 23:36:54 -07:00
Jonathan Williams 6472194d44 Optimized queries to retrieve and update player information by removing inner join calls on the account.
Added account id retrieval on login.
Added account id caching in redis.
2015-03-25 15:10:59 -07:00
Jonathan Williams 2dade32499 Added support for creating Event servers. 2015-03-15 20:50:54 -07:00
Ty Sayers af898e3306 Convert PlayerStatus trackers, Bungee MOTD, and Bungee Server status' from MySQL storage to redis-based system using DataRepository's.
Re-organize structure of ServerData packaging.
2015-03-14 01:03:22 -04:00
Jonathan Williams de9c861df2 Disabled bungee status history. 2015-03-13 18:11:06 -07:00
Jonathan Williams cb93769e03 Converted Bungee to redis.
Increased DBPool maximum connections to 5.
2015-03-13 17:53:36 -07:00
Jonathan Williams 4017ec95c0 Ignore Testing groups in server monitor. 2015-03-13 03:21:50 -07:00
Jonathan Williams 8ddce7cb32 Reduced process wait time per server kill/create
Added kill bypass for first startup (network reset)

Fixed some log messages that weren't being logged.
2015-03-02 13:42:34 -08:00
Jonathan Williams beac0b4828 Added try catch in BungeeRotator and ServerMonitor so they don't crash out. 2015-02-14 00:47:03 -08:00
Jonathan Williams 51e1798d8a Merge branch 'master' of ssh://184.154.0.242:7999/min/Mineplex 2015-02-09 00:19:15 -08:00
Mini-Chiss 26463ba75d Treasure changes :O 2015-02-09 20:24:20 +13:00
Jonathan Williams fabf385a57 Added exception handling for group change exceptions so entire dynamic monitor doesn't stop. 2015-02-04 21:41:33 -08:00
Jonathan Williams f1930ed7c1 Only record bungee stats for your region...servermonitor 2015-02-01 00:56:18 -08:00
Jonathan Williams 9d3f5f9bc8 Fixed reconnect for bungee connection in StatusHistoryRepository
Added error catching to ServerMonitor so it doesn't stall program.
2015-01-31 14:19:33 -08:00
Jonathan Williams 908533b232 Added some exception protection in Redis retrieve dedicated servers.
Removed Statifier project.

Improved ServerMonitor:
- Added recording of dedicated server stats
- Added recording of server group stats
- Added recording of bungee stats
- Added recording of network stats
2015-01-29 07:05:50 -08:00
Jonathan Williams 73866669b8 Added RestartCommand and SuicideCommand
ServerMonitor will now cleanup bloated Lobbies starting from the highest number lobby.

Fixed issue with new servers getting cleaned up as excess as soon as they started.
2015-01-22 23:19:40 -08:00
Jonathan Williams 0a99a9aa40 Debug flag now depends on file. 2015-01-10 13:19:33 -08:00
Jonathan Williams 0d27649e85 Fixed minor bug in ServerMonitor. 2015-01-10 11:53:51 -08:00
Jonathan Williams 836547f4f6 Added a delay to killing 'dead' servers and a verification run after the initial test before killing. 2015-01-06 10:39:18 -06:00
Jonathan Williams 86993ddd55 Fixes again for number player names. 2015-01-03 04:27:28 -06:00
Jonathan Williams cc06b0ad33 Refactored statmanager to only upload stats on disconnect and only one player per tick.
Fixed derp json crap with redis treating a name with only numbers as a number and adding .0 on it.
2015-01-03 01:58:04 -06:00
Jonathan Williams 0e85b7e6cc Added HostName to server groups.
Added handling of private server groups in server monitor.
Optimized server group/server status load.
Added ability to add/remove server group.
2014-12-23 00:49:52 -05:00
Chiss 95081a8ab7 Gems cannot be given multiple times for certain things (prevents bugs giving mass gems) 2014-12-15 14:33:38 +11:00
Jonathan Williams 4e0c91c26d Adjusted limit on CC game. 2014-12-13 20:22:01 -05:00
Jonathan Williams 78a0aa7c96 Added checks to restart UHC servers stuck in restarting mode. 2014-12-01 03:34:37 -08:00
Jonathan Williams 6c63552480 Refactored RankBenefitsGiver9000
Added Thanksgiving benefits (1 treasure key).

ServerMonitor now ignores Testing group.
2014-11-20 21:24:23 -08:00
Jonathan Williams 48c627db74 UHC tweaks and message changes. 2014-11-07 16:04:06 -08:00
Jonathan Williams 264df5af79 Fixed load time issue with ServerConfiguration. 2014-11-07 01:27:07 -08:00
Jonathan Williams f931bd26e6 Updated ServerConfiguration to support resourcepack and Arcade settings. 2014-11-06 00:25:49 -08:00
Jonathan Williams ead014f65e Increased server startup time to 30 seconds. 2014-10-25 14:34:38 -07:00
Jonathan Williams d4900c38b1 Halloween server max.
CustomTagFix fix for invis armor stand on your own head.
2014-10-23 23:58:13 -07:00
Jonathan Williams d3788e8ddc Fixed redis server time functions.
Added kill option for servers with motd Finished in servermonitor
2014-10-11 04:40:53 -07:00
Jonathan Williams e29dd4ff71 Fixes for ServerMonitor. 2014-09-25 05:37:10 -07:00