[FUN] ConnectFour v0.3.2 - Now with tic-tac-toe [1060]

Discussion in 'Inactive/Unsupported Plugins' started by cholo71796, Aug 1, 2011.

  1. Offline


    ConnectFour - Play Connect Four in Minecraft!
    Version: v0.3.2

    Please refer to the BukkitDev project!
    ConnectFour works by creating virtual chests- inventories that have no ties to real chests in Minecraft. During a game, a chest inventory is visible on both players' screens. They may click on any free space in the columns to drop their coins into the slots. It will automatically go the lowest available space, just like in real-life Connect Four.​

    Tic-tac-toe uses a similar interface. Try it out yourself!

    Player inventories may not be modified during this time to avoid problems.
    • Allows players to play Connect Four and tic-tac-toe in Minecraft
    Download: JAR (source)

    /connectfour, /cf, /c4
    /cf [player] - request a match. (Uses smart matching, no need to type the whole name.)
    /cf [player] [money] - request a match. The loser will pay the winner the money.
    /cf accept - accept a request.
    /cf reject - reject a request.
    /cf back - return to a game that you accidentally closed out of.
    Replace /cf with /tic (also /ttt, /t3 and /tictactoe) to play a game of tic-tac-toe.
    connectfour.play - accept and reject requests
    connectfour.start - send requests
    tictactoe.play - accept and reject requests
    tictactoe.start - send requests
    I should note that a player requires BOTH .start and .play nodes to initiate a game.
    .start by itself won't do anything.
    In BukkitPermissions, all players have these nodes by default.
    Todo (open)

    Put other stuff I've been meaning to put in config in config
    Add configurable range between players

    Version 0.3.2
    • Updated to cb1060
    Version 0.3.1
    • Added tie detection.
    • Amendment: registered default permissions.
    Changelog (open)

    Version 0.3.0
    • Switched Permissions to built-in Bukkit permissions.
    • Added economy support through Register.
    • Added a configurable language file.
    • Added matches for stakes.
    Version 0.2.2
    • Added broadcasts. Soon to be configurable.
    Version 0.2.1
    • Large rewrite and reorganization of code.
    • Added ability to return to game if you accidentally close out.
    • Converted from BukkitContrib to Spout.
    Version 0.2
    • Added Permissions support.
    Version 0.1
    • Added tic-tac-toe.
    Version 0.0
    • Release

    FYI: This plugin automatically downloads Spout, as the plugin requires it server-side to function. No worries, players do not need to have the client mod version of Spout.
    shadrxninga likes this.
  2. Offline


    Pretty Cool :D

    Great Idea!
  3. Offline


    Thanks! I was surprised to find nobody had done anything even remotely similar to this before me. I'm pretty satisfied with it.
  4. Offline


    i will try this :eek:
    The Screen etc. is really nice :O

    Permissions Support, iConomy Support [Winned Game]

    When i click T or ESC then the "Chest" is closing!!
    and i can not go back in the Game ;)
    Please fix with :
    /cf back or so ;)
    That i can goback in the Game

    Broadcast who won..
    Broadcast who started a game with
    Spectate function to show a game
  5. Offline


    Ha! That sounds pretty cool; a very creative way to manipulate the client! I'm gonna give this one a shot later tonight.

    Since workbenches give a 3x3, perhaps you can implement a tic-tac-toe as well? :)

    EDIT: Is this possible to do without BukkitContrib?
  6. Offline


    TIC TAC TOE :eek:
    That whoould be soo cool xD
  7. Offline


    Dang! Amazing work! I'm more interested in hOw you gt this to work w/o client mods, also TicTacToe would be cool :) maybe I'll work on that :)
  8. Offline


    Yeah, since it's one of the server side things I could just take the methods BukkitContrib uses and put them in my plugin, but this feels more organized.

    Tic-tac-toe would be pretty sweet. I think I'll have to do that one.

    It doesn't use client mods (if that's what you're asking)

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
    Last edited by a moderator: May 18, 2016
  9. Offline


    Did you read my Things ;P ?
  10. Offline


    Yeah, I'll get around to those. Permissions, broadcasts and economy support are definitely coming. I've thought about spectate before, but it's not a high priority for me. I'm not sure what I think of allowing people to return to the game.
  11. Offline


    for you ;)

    for me is this really a high priority ;)
    but a really really HIGH priority has for me the : TIC TAC TOE ;)
    Thats better than Connect four
  12. Offline


    I was wondering HOW you did it w/o client mods.
  13. Offline

    Grammar Troll

  14. Offline


    Oh, okay, the "gt" in your post was a little ambiguous- "get" or "got."
    Actually, I don't see a way to use that for virtual chests (correct me if I'm wrong). I'm using this method. BukkitContrib was really just for inventory listeners.
  15. Offline

    Grammar Troll

    I don't think you're wrong, I assumed that you used BukkitContrib to create virtual chests. I've been actively watching BukkitContrib's github lately so I remembered this page saying something about inventories. Forgive my ignorance, I posted without having any knowledge about coding ;)
  16. Offline


    Haha, that's okay. I'm working on tic-tac-toe right now, but I think I'm going to use the doublechest for it as well because manipulating virtual-other-interfaces is a pain in the ass. (Or I'm just too much of a noob to do it.)
  17. Offline

    Grammar Troll

    I'm looking forward to tic-tac-toe! Good luck!
  18. Offline


    Yeah ;D
    Your working on it
    That are good news :D

    Please add Support to Spout [New BukkitContribut or so xD]


    When are you finished ? :Ö
  19. Offline


    I can do that, but I don't think I will until Spout appears more stable. Running it sends superfluous messages to console. BukkitContrib will do just fine for now.
    Precisely when I am finished. I mean right now.

    @Sh00ck @Grammar Troll @4am
    v0.1 adds tic-tac-toe. Play the game by using /tic [player], /tic accept and /tic reject. (Also, /tictactoe, /t3, /ttt).
  20. Offline


    Same thing at my Position with Spout i tried it and i become FLOOD Messages... Always the Same ;D


    Thanks for TicTacToe i will try it

    Does not Work :
    First :
    You can MOVE all THINGS in there ... The Pistons and the Ladders
    i can't set anything etc. etc. ?
    Help ?

    and CF the Same...
  21. Offline


    Do you have your own server? I'd love to come and try it on a real server, I'm just testing locally.
  22. Offline


    yes but this is a ONLY German Server ;)
    But you can test it when you want ..
    Have you Skype ? I dont want to Say all my IP..
    because then there only come some English Speakers ;P
  23. Offline


    That makes sense, you can just send me a private message
  24. Offline


    Added the ability to return to the game in v0.2.1 as you suggested. I hope you like it!

    Added chat broadcasts when a player wins/loses a game. I'll add a permission node for this and a configuration file shortly. (configs are simple)

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
    Last edited by a moderator: May 18, 2016
  25. Offline


    Would it be possible to use the dispenser GUI for tic tac toe?
  26. Offline


    Yeah, but you can't customize the name of dispensers inventories. The double-chest is also more convenient to modify
  27. Offline


    why is it that you can customize chests but not dispenser?
  28. Offline


    Don't ask me! Ask Notch
  29. Offline


    Hmm, thats odd :p
  30. Offline


    Sorry for the delay in submission approvals, I've been away for a while.

Share This Page