3.3latestBetting Update!Nov 4, 2016 Sorry I've been gone for so long! University is hard! With Connect4 GUI v3.3, I've introduced a money-betting system. · Betting: · Invite a player to a game with a bet with the following command string: · /Connect4 invite <player> bet <integer> · Config: · Not much as drastically changed for the configuration, but you'll still need to update it! · Connect.Misc.Betting section has been added. · Enabled | Boolean - Enabled/Disables betting · ForfeitLoss | Boolean - Whether forfeiting should be considered loosing (i.e. money changing hands) · Connect4.Messages.Betting section has been added. · Different invitation messages are used when a betting game is used.3.2Connect4 AI Update!Aug 8, 2016 Connect4 Bots are here to beat you and your friends at Connect4! Added: · @Connect4 AI Bots · The bots can be invited via command-line, or through the invitations GUI menu. · The bots are: @EasyC4Bot, @HardC4Bot, and @ImpossibleC4Bot. · I will talk about their specific play styles down below. · Config: · Moved all statistic-related objects to their own section. · Added 'Connect4.Statistics.StatsFromBots' boolean (defualt false) · If enabled, players will recieve statistics from loosing/winning against bots. (This is disabled by default to prevent win farming) · Enabled or Disabled, bots will still have their own stats recorded. · Added 'Connect4.GUI.Game.Title.DrawTitle', which will set the game's chest menu title when a draw occurs. · Added 'Connect4.Misc.Bots.Enabled' boolean (default true) · If disabled, players will not be able to invite bots. · Added 'Connect4.Misc.Bots.Head' to config. · This requires a playername, and will be used to signify the head used for bots in the GUI menus. · Added 'Connect4.Misc.Commands.BotExecutables' section. · Since bots are not actually players, they cannot receive items, or anything of the sort; because of this, I had to make a different section for bot games. · Script: · Added functions: InviteAI, Connect4AI, Connect4AIAPI, CheckAIDraw, AIWinState, and endAIGame. · Unfortunately, these functions were too different from their liked-named counterparts, and had to be made into separate functions. · Made it so AI will appear in the Invite GUI menu. · Added tab completer. · Bots: · Bots chose a move using this website: http://connect4.gamesolver.org/ The site uses alpha beta pruning to determine a value for each column, then selects the highest valued column. · @EasyC4Bot: · Until the 25th turn of the match, @EasyC4Bot will pick a column from the 2nd best, to the 4th best value. · In the event the player is one move from a victory, and the match's turns are less than 25, @EasyC4Bot has a 25% chance of 'accidentally' allowing the player proceed to victory. This is the emulate a 'mistake'. · After the 25th turn, @EasyC4Bot will revert to the winning strategy of picking the best valued column. · @HardC4Bot: · Until the 15th turn, @HardC4Bot will pick a column from the 1st best to the 3rd best. · In the event the player is one move from a victory, and the match's turns are less than 15, @HardC4Bot will always attempt to prevent the player from winning that easily. · After the 15th turn, @HardC4Bot will revert back to the winning strategy of picking the best valued column. · @ImpossibleC4Bot: · @ImpossibleC4Bot will always pick the best valued column. · It should be noted that @ImpossibleC4Bot is not actually impossible; however, you would need to play perfectly to defeat it. Bug Fixes: · Fixed an issue where a spectator's GUI wouldn't close after a game. · Fixed an issue where clicking a filled column would count as a turn.3.1Leader Boards!Jul 24, 2016 Leader Boards are finally here! In addition to Leader Boards, I also made the 'TitleTurns' introduced in version 3.0 optional! I have 2 new ideas I plan on implementing in the near or far future: · Betting using money/items (Special thanks to user gaRt3n from Spigot for the idea!) · Computer AI (probably using an external API) But that's for the future; in the meantime... Added: · Made TitleTurns optional! · Added Leader Boards! · Config: · Added 'Connect4.Messages.Statistics.LeaderBoardHeader' with placeholder %STAT% · Added 'Connect4.TitleTurns' to enabled/disable TitleTurns · IMPORTANT: If you disable TitleTurns, then you HAVE to change 'Connect4.GUI.Game.Title.TitleTurn' and 'Connect4.GUI.Game.Title.WaitingTitle' to where they both contain the %TARGET% placeholder, such as 'Conenct4 vs. %TARGET%' · Script: · Added functions grabName and grabUUID, because I was having issues with 'uuid of player' when the targeted player was offline. · Mainly created for the leaderboards... · Added sortList function, which, well, sorts a list. I could have used RandomSK's sorting expression, but I figured I'd rather create my own than have to include an additional dependency.3.0The Pausing Update!Jul 18, 2016 It's been a while since I updated Connect4 GUI, so I thought I'd make this update special by adding many new features! Added: · Permission-Based Pausing! · Rather than exiting a menu forfeiting a game, it will now pause the game. When a player runs out of pauses, or does not have permission to pause, the inventory exit will be a forfeit. · Players with specific permissions which can be defined in the Config will have a customized amount of pauses during a game! · Players can resume their paused game with /Connect4 Resume, or be pressing the resume button in the new GUI. · Added PauseTime and LimitWarning to Connect4Config. · PauseTime defines the amount of time each pause can take before either using another pause. · LimitWarning warns the player of how many pauses they have left after their amount is below a certain point. · Title Turns! · When a player makes a move, the inventory name will update displaying turn information. · Rematch Request! · When a game ends, a JSON message will send to each player asking whether they would like to send their previous opponent another invite. · JSON Invitations! · Messages a clickable invite when a player invites someone. · Set Statistics! · Added the ability to manipulate player statistics! Required permission node: 'connect4.admin' · More Sounds! · Added more sounds for Resuming/Pausing, and Winning! Bug fixes: · Made it so a Player will forfeit the match if they die or exit the game. · Fixed an issue where the winning move would include blocks from the same column/row although they were not part of the winning move. · Fixed an error where the winning move may not appear against certain players. · Figured out that if anything dealing with SQL was not commented when SQL isn't used, it would error out. So yeah, if you use SQL, you're going to have to un-comment a few lines. Sorry D: · Probably some other stuff (but I forgot) The TitleTurns makes the inventory flash awkwardly, and I plan to make it an option rather than fully integrated into the skript in the near future.2.3Animation, Broadcasting, and Command Execution Update!Jun 11, 2016 · Fixed the 'Winning Animation' bug! · Fixed some problems with the SQL connections. · Fixed an issue with the statistics sub-command, which it could not determine if a player had any recorded statistics of the SQL database was used. · Fixed a few minor bugs. · Added the 'GamesPlayed' statistics! (Actually I just add up all the other statistics. shh.) · Added customization to the amount of time waited in-between animation frames. · Further customized the broadcast and command functionalities by having multiple and separate broadcast and commands for each possible game endings (Win, Draw, Forfeit)2.2SQL UpdateJun 10, 2016 · Implemented SQL features! · Fixed a lot of bugs; mostly text formatting-based · Commented out the 'Winning Move Animation' because it can be used to obtain the Winning Move item if the inventory is closed at the right time.2.1Updated Connect4Config and fixed small bugs!Jun 7, 2016 · Updated the config file to include snazzy descriptions of things. · Fixed an issue where the 'winning move' blocks would return to the blocks they replaced. · Fixed an issue where spectators would not receive the 'winning move' animation. · Added variable database disclaimer.2.0Connect4 GUI Overhaul Update!Jun 7, 2016 · Added the use of a config file, allowing a ton of customization · Added optional sounds and animations · Added optional broadcasting and command executions · Revamped the game GUI so the extra bottom row is unnecessary · Worked all the commands into their own GUI segments · Removed all the json stuff in favor for all GUI menus; I can reincorporate it if anyone wants me to, though.1.0Dec 29, 2015
Similar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
25MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.5MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
3.9MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta