Inactive [FUN] Tetris v0.5 - Perfect game when bored [1337]

Discussion in 'Inactive/Unsupported Plugins' started by Streammz, May 23, 2011.

  1. Offline

    Streammz

    Tetris
    Version: 0.5

    How do you mean addicted? I just play tetris in minecraft!
    With this plugin, you can play Tetris in-game!
    Also, It has permission support, visual effects etc.

    Features
    • Load up tetris at any location (or change settings to limit it to locations)
    • Original tetris, blocks are the same.
    • Highscores + server-wide anouncements (if configured)
    • Various graphical effects (Red-screen of death, startup counter, more are planned)
    • Restore support after game-over that supports all blocks
    • Permission support
    • Plays the original Tetris theme (TM)
    • Spectating
    • Admin-only areas
    Download:

    v0.5 - Download here
    [​IMG]
    If you really appreciate my work, please support me so I can create plugins faster in the future.
    Frequently Asked Questions (open)

    Does it lag the server?
    I've got an public Tetris server which has been tested with 5 players playing at the same time on an 1gb server, and it was lag-free.

    How do I make predefined Tetris locations
    In the settings file, change "canUseTetrisEverywhere" to false and "MustStandOnBlockType" to an uncommon block id (sponge/jack`o lantern etc)

    Will this break any terrain?
    I've made the Field.Restore() in the script so it supports any block (chest/sign etc) and prevent any dupes thats caused with that.

    I've got an error in the console
    Please post it on the topic and include your settings.txt with it too.

    How to reset the field?
    type /tetris again and it will go away

    What is the permission node for /tetris ?
    Its 'tetris.use'

    How to I rotate / move the blocks?
    After the game starts you'll see gold/iron/diamond blocks on the side of your screen, if you 'press' them (left/right click), you'll move them
    Currently gold is left/right, iron is rotate and diamond is down.

    How do I spectate tetris players?
    /tspec <playername>

    How do I make admin-defined tetris area's?
    With 0.4+, you can change the settings to use ONLY admin-defined areas, thats useful for tetris arena's.
    So here's how you make them
    - In the settings.txt, change "CanUseTetrisEverywhere" to false, and "UseAdminLocation" to true
    - Reload the server
    - In-game, people which are OP or have 'tetris.create' permission, can now use /tbuild (short for TetrisBuild to place blocks where tetris can be played on.

    Heres a graphical example:
    */tbuild*
    [grass][grass][grass][grass] -> [grass][wheatsprout][wheatsprout][grass] -> [grass][wood][wood][grass]
    [dirt][dirt][dirt][dirt] -> [dirt][grass][grass][dirt] -> [dirt][dirt][dirt][dirt]
    */tbuild* again
    Now people can play tetris when they stand on the wood

    How do I change my button binding?
    In the settings.txt when updated to 0.4, there should be a part with Button Binding and several shortcuts, Its all explained there what all means.



    Video:

    Review by @jamescosten



    Changelog:
    Planned for 0.6:
    V0.5 (12 Nov):
    • Updated for RB #1337
    • Added light @ night/dark area's when playing
    • Removed PermissionsPlugin depency (built-in permissions now)
    • Classic mode support (doesn't spam messages in chat in classic mode)
    Older versions (open)
    V0.4 (27 May):
    • Fixed restoring the field when old data contained wallsigns
    • Tbuild mode to make admin-only areas (see FAQ)
    • You can now change button binding to your own liking (I got too much complaints about this), see settings.txt / FAQ
    V0.3 (25 May):
    • You can now spectate tetris players using /tspec <player> (short for TetrisSpec <player>)
    • The game will anounce (if configured) whenever an player beat somebody's highscore
    • Music goes faster when the blocks go faster
    • You can "scroll blocks down", if you scroll with your mouse, the block will go 1 space down so you can make it go faster down if you want.
    Oh and the version number will show the 0.3 now too, instead of 1.0.0

    V0.2 (24 May):

    • Fixed 5th highscore not saving
    • Added /highscore so you can check highscores (not sure if this conflicts with other plugins)
    • Added music boxes that play the tetris theme
    v0.1 (23 May):
    • Initial release with all the main functions
     
    Undrtakr, NEO, fugue2005 and 10 others like this.
  2. Offline

    Shooty

    F*king awesom !
     
  3. Offline

    ShadoRoboto

    I agree. This is supririsingly original and incredibly unique.
    ~SR
     
  4. Offline

    Plague

    Maaaaaaan that's crazy :)
     
    but2002 likes this.
  5. Offline

    codename_B

    OMG... next thing you'll be making chess with an AI to play against ;) :p HINT HINT HINT

    Seriously though, this boggles the mind.
     
  6. Offline

    Botz147

    This is crazy, really it's awsome. Good job
     
  7. Offline

    noahwhygodwhy

    how do you turn the pieces or is there not a way yet?

    edit

    watched the video again, figured out i think, it's clicking on the iron blocks, right?

    edit

    tried it out, works AMAZINGLY!:cool:
     
  8. Offline

    Laz

    woah thats epic
     
  9. Offline

    ScorchRaserik

    It's a game within a game. We have to go deeper.
    BWAAAAAAAAAAA
    [/InceptionReference]
     
    DrAgonmoray, Pim1234 and Kevin Forte like this.
  10. Offline

    olimoli123

    ILYSM , IM INSTALLING THIS ON MY SERVER RIGHT AWAY!
     
  11. Offline

    rwp140

    wow this looks awesome i'm a little confused on how to set it up, do i just place the appropriate blocks and it'll work or is there som sort fo command to type? just a quick guide on how to set it up would be great thanks
     
  12. Offline

    olimoli123

    hmm, could you please make sure it works for 1.6?
     
  13. Offline

    George Nico

  14. Offline

    Streammz

    woah, didn't expect THIS much feedback in one night :eek:
    you know that I was actually thinking of adding that? ^^

    @olimoli123 sure, else it was a waste of my time to script it xD
     
  15. Offline

    rslink

    @Streammz Here is a tetris.midi (thanks to Sk89q) have a look at his commandbook source for midi playing.
     
  16. Offline

    TBK

    Great job, but you bettter change the name, since Tetris is copyrighted (and the owners are very protective).
     
  17. Offline

    Eldrik5thgen

    Amazing plugin.
     
  18. Offline

    Pinkpixels

    Its super simple. Just edit the config file to whatever block you want to use(gold is default i think). Place the block anywhere in your map(may want to place it away from other buildings). Step on it and type /tetris. Thats it! You can also edit the config file so you dont need a specific block.
    To Streammz:
    SO much fun! ty! Working perfectly on my server!
     
  19. Offline

    Streammz

    Got the music blocks + tetris theme working, will be added in 0.2, currently testing if all works for it (settings, disabling etc)

    ps. thanks for all positive feedback ^^ @Pinkpixels and helping me out :)

    V0.2 out!
    • Fixed 5th highscore not saving
    • Added /highscore so you can check highscores (not sure if this conflicts with other plugins)
    • Added music boxes that play the tetris theme

    New settings in file:
    - PlayMusic= (default true)
    - NoPermissions= (default false) (If you don't have permissions but still want everyone to be able to use it, set this to true)

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

    Shooty

    @Streammz Why not use mousewheel scrolling to change the direction of a bloc ?
     
  21. Offline

    Streammz

    Clients don't send keypresses etc to the server, thats also why i dont use wasd / arrows etc
     
  22. Offline

    Shooty

  23. Offline

    Streammz

  24. Offline

    Shooty

    Cool :D
     
  25. Offline

    Marco Moreira

    It would be good if you could set a place where the tetris thing will be all the time for example, you add the tetris place then once its set you can add a door and when people go inside the tetris place and type /tetris start the game starts... that would be better to provent people from spawning a huge tetris place....
     
  26. Offline

    jackyyang09

    Tetris in my minecraft?
    ...
    yes!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
     
  27. Offline

    Streammz

    Thats where you have the option for to only /tetris on specific blocks, if you just do sponge or locked chests, that way nobody can make new points. but if its requested a lot, i'll make it so you need to register the spots?
     
    Marco Moreira likes this.
  28. Offline

    Marco Moreira

    Okay thanks, it would be great if you could cause I love this plugin and would want my users on my servers to enjoy it aswell as me :D, heres another idea :p you could make it so that the pay to play via iConomy just somthing you could add in the future :)
     
  29. Offline

    rwp140

    awesome thanks, got it working now
     
  30. Offline

    Marco Moreira

    Checkers would be amazing to have in minecraft, i have a huge checkers board on my minecraft server but the users have to brack/place the blocks without scores being taken etc.. would be a good idea to create a checkers mod :)
     

Share This Page