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

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

  1. Offline

    cholo71796

    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.
    [​IMG]
    Features:
    • Allows players to play Connect Four and tic-tac-toe in Minecraft
    Download: JAR (source)

    Commands:
    Code:
    /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.
    
    Permissions:
    Code:
    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

    Changelog:
    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

    cholo71796

    Thanks! Strange to see my name being purple, haha
     
  3. Offline

    Sh00ck

    jeah really nice...
    and when are the language finished ?
     
  4. Offline

    cholo71796

    Language is finished, but I'm working on iConomy support before I release the next update
     
  5. Offline

    Pencil

    Spammy since the Spout update D:

    Code:
    19:19:05 [INFO] [ConnectFour] {}
    19:19:06 [INFO] [ConnectFour] {}
    19:19:22 [INFO] [ConnectFour] {}
    19:19:23 [INFO] [ConnectFour] {}
    19:19:23 [INFO] [ConnectFour] {}
    19:19:25 [INFO] [ConnectFour] {}
    19:19:25 [INFO] [ConnectFour] {}
    19:19:26 [INFO] [ConnectFour] {}
    19:19:30 [INFO] [ConnectFour] {}
    19:19:31 [INFO] [ConnectFour] {}
    19:19:41 [INFO] [ConnectFour] {}
    19:19:42 [INFO] [ConnectFour] {}
    19:19:42 [INFO] [ConnectFour] {}
    19:19:44 [INFO] [ConnectFour] {}
    19:19:45 [INFO] [ConnectFour] {}
    19:19:46 [INFO] [ConnectFour] {}
    19:19:49 [INFO] [Staff] iPencil: :D
    19:19:52 [INFO] [ConnectFour] {}
    19:19:53 [INFO] [ConnectFour] {}
    19:19:56 [INFO] [ConnectFour] {}
    19:19:56 [INFO] [ConnectFour] {}
    19:20:00 [INFO] [ConnectFour] {}
    19:20:00 [INFO] [ConnectFour] {}
    19:20:01 [INFO] [ConnectFour] {}
    
    And on tictactoe nobody can place any blocks in the interface, so the game never begins/ends :/
     
  6. Offline

    cholo71796

    That's bizarre, I've done a lot of stuff since the latest release. Expect an update within the day.
     
  7. Offline

    Pencil

    Alright :) Great! My users are waiting to use this :)
     
  8. Offline

    cholo71796

    Good to hear!

    Version 0.3.0

    • Switched Permissions to built-in Bukkit permissions.
    • Added economy support through Register.
    • Added a configurable language file.
    @Pencil Can you try it out again? I never had those Spout problems


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

    Exiee

    Simple. Yet awsome!
     
    cholo71796 likes this.
  10. Offline

    cholo71796

    I forgot to add it to the post until now, but typing /cf [player] [money] makes the loser pay the winner the money. I should note that a tie will not be detected and forfeit can still occur. I'll get to work on this right now!
     
  11. Offline

    Shooty

    I uses permissions 2.7.3 and it say i'v don't the right to use Connect four :( @cholo71796
     
  12. Offline

    cholo71796

    Do you have the bridge?
     
  13. Offline

    Shooty

    Ok,thanks, but finally i can't use your plugin because i can't use spout (don't compatible with cookbook). @cholo71796
     
  14. Offline

    cholo71796

    I'm not familiar with Cookbook. If it uses BukkitContrib, you should ask the owner if s/he could update to Spout.
     
  15. Offline

    Shooty

    Yes, i'v already did that :)
     
  16. Offline

    cholo71796

    Okay, good luck!

    No more improper forfeitures!

    Anybody have a server using this that I can check out? I haven't really played it against other people :p

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

    Sh00ck

    i will try it ;)


    Edit//

    it works ;D
     
  18. Offline

    Pencil

    Naw i aint using bukkit perms yet :p too lazy to switch over ^^ But why did u remove permission support at all? ^^ If it was already there why not simply support both for a while :p
     
  19. Offline

    cholo71796

    Isn't there a bridge?
     
  20. Offline

    Pencil

    Afaik a bridge exists for permissions to bukkit permissions. Not sure there is one the other way around :p
     
  21. Offline

    cholo71796

    You should try editing the config file to German!

    Have you tried registering the permissions to Permissions and using the bridge? I'm not sure how the bridge does its magic, but maybe it would convert them over

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

    saladfingers

    I'm currently using permissions 3x and can't get this plugin to work at all, even with the bridge. Then again, I have no idea how the bridge works.

    Can't you just add old permissions support back? :)

    I'm sure there's lots of people that don't want to switch over to the new system.
     
  23. Offline

    Pencil

    That would mean I have to switch over, which I don't want to xD
     
  24. Offline

    cholo71796

    @Pencil @saladfingers
    I added Permissions support again, can you see how it works?
    I don't plan to maintain it permanently.

    But progress is important!
     
  25. Offline

    Pencil

    <3
     
  26. Offline

    Shooty

    Can you add a fonction to "spec" the fight :D?
     
  27. Offline

    Justin17

    Do you have to have permissions to use this? Cuz op's can't even initiate a game :/

    Cool it works :) About the permissions thing, the server is mainly for me and my bro so it doesn't matter to much. What permissions plugin would you recommend btw? The yeti one?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Aug 22, 2018
  28. Offline

    cholo71796

    I considered that, but most games end too quickly for it to really be useful. If the masses yell for it, though, I'd add it

    I suppose I'll add a default system, but really, what are you doing with a server that doesn't have Permissions?

    @Justin17
    Added default permissions per your request. Give it a go!

    After I wrote that I realized that not everybody's server is public, hahah. You probably won't need permissions, but I'd use the PermissionsBukkit plugin.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Sep 12, 2018
  29. Offline

    MCrofl777

    ???!
    I am Admin/Op and if I type /c4 or /cf or /t3 then: "You don't have Permissions to start a connect four/tictactoe game.
    What's the Problem?
     
  30. Offline

    cholo71796

    @MCrofl777
    What are you using for permissions?
     
  31. Offline

    MCrofl777

Share This Page