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

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

  1. 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

    MCUnlimit

    Streammz Dou you update tis Plugin for 1.1-R3? Please, I want to play Tetris :)
     
  3. Offline

    liralmogadi

    Um, Sowwie if I hadn't gotten the news and maybe the developer stopped, but...
    As you may know, Craftbukkit for 1.2.3 is much more "simple" than the others, they removed some code.
    And I had had tetris on my server for a long time, but it just stopped working at 1.2
    Still works, actually, but... We can't move the play blocks! the gate infront of u won't do anything!
    As if it's not even a part of the plugin! Please fix, the lights work, the admin-selected-places work, everything does,
    but in 1.2.3 you just cant move the play blocks! =[
     
  4. http://dev.bukkit.org/server-mods/gamespack/
    this is my new project for games, which will also include tetris.
    consider this plugin dead
     
  5. Offline

    silversm

    PLEASE UPDATE, I WANT THIS FOR MY CARNIVAL WARP!!!!!
     
  6. Offline

    bigboy09

    Hii i need ur help!!!

    If i start tetris i cant move the blocks to Left or right or down or turn it What i have to do?!!

    Help

    I cant move the blocks!!!

    Help

    I cant move the blocks!!!

    Help

    I cant move the blocks!!!:mad::'(

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

    Snowy007

    Maybe because this plugin is dead and the last update was on 12 November for build 1337 !
    Now stop whining and uninstall it.

    You would have known this if you would have looked literally 2 posts above your fist post.
    Also the fact that the last update was for build 1337 should have been enough information to know that it would not be working any more.
     
  8. Offline

    Aced God

    There is a bug in the game for duping items.
    1. /tetris to join a game while standing on a GOLD block
    2. Log off
    3. Log back on
    4. When you log on, you are still in the tetris game, but there is no field and you have your items back again
    5. Drop/Store your items anywhere
    6. /tetris to quit the game
    7. You get your things that were stored back again
    8. Pick up the items you have dropped/stored
    9. 2x duplication

    Please fix this soon so I can add this.
     
  9. Offline

    Snowy007

    eum.... okay....
    2 things.

    1. How would you even know about a duping exploit if you haven't added it yet?
    2. This plugin isn't even working any more on 1.2+ servers.. And i already stated right above your post that this plugin is dead and won't be updated any more. Even the developer himself said it on this current page. He is working on a different gaming plugin which will also include a tetris game. Its not finished yet though.
     
  10. Offline

    Aced God

    I played on another server which had this plugin on it.
     
  11. Offline

    xXxOraxXx

    how do i get the blocks 2 rotate?.. the music works the whole set up thingy works but cant rotate the blocks.. can any 1 tell me what i might be doin wrong?
     
  12. Offline

    Snowy007

    Must have been on a server before version 1.2 or someone else updated it specially for that server. This one here doesn't work any more for 1.2+ servers.


    1. Go to a school
    2. Sign in.
    3. Ask the English teacher there for more lessons on how to read English.
    4. Now that you hopefully learned how to read, go back to this page.
    5. Start reading these comments that where made on this very page:
    http://forums.bukkit.org/threads/fu...ame-when-bored-1337.18357/page-9#post-1012693
    http://forums.bukkit.org/threads/fu...ame-when-bored-1337.18357/page-9#post-1039249
    http://forums.bukkit.org/threads/fu...ame-when-bored-1337.18357/page-9#post-1059130

    If the answer still isn't clear to you i'll just put this simple:
    Uninstall the plugin.
     
  13. Offline

    liralmogadi

    Hey, Though it was just another creator taking over your project.
    Sorry, I sorta ignored it. Took another look, I see it's actually the real maker! XD
    Thanks for responding to me, and sure, I looked, but it said it wasn't released yet! Please atleast release the tetris part first, no need to make a whole games pack! I'll download the games later obviously, but I want tetris back so badly, just post it once you're done please! =] Also reply so that I'll return here through my alert. XD
     
  14. Offline

    djteddyt1

    umm what are the controls??
     
  15. Offline

    Snowy007

    Originally you where supposed to click on the gold and diamond blocks to move or rotate.
    Now however, you should be deleting the plugin since it doesn't work any more, and hasn't worked for months.
     
  16. Offline

    GamingG

    I modified the code of this plugin somewhat, and I was able to get it to actually move the pieces again in the latest RB. I'll release what I have so far once I fix a few more bugs.

    EDIT: Ready: http://dev.bukkit.org/server-mods/mc-tetris/

    I fixed every bug the users on my server and I could find, and it should be fully working in the latest RB.
     
  17. Offline

    chrisdolojan

    When i make a tetris thing the thing starts up and everything the tetris board works but the only thing that doesnt work is the pressing the blocks thing nothing happens they dont move over or scroll down or rotate i cant get the tetris blocks to react to anything
     
  18. Offline

    GamingG

    You must be used the outdated version. Say "/version Tetris" from in-game to determine which version you're using. The last version that Streammz released here was v0.5, and it doesn't work for the latest versions of bukkit. Go to the following link to get v0.7.1, which is the newest release that should work perfectly with the latest RB.

    http://dev.bukkit.org/server-mods/mc-tetris/
     
  19. Offline

    ZabeK121

    I have a problem with it. When I try to start game nothing happen, then I try another time and error appears in console:

    Code:
    23:51:42 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'tetr
    is' in plugin Tetris v0.7.2
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:42)
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:16
    6)
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:4
    79)
    at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.
    java:821)
    at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:781)
    
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:764)
    at net.minecraft.server.Packet3Chat.handle(Packet3Chat.java:34)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:229)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:113)
    at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:7
    8)
    at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:567)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:459)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
    Caused by: java.lang.NullPointerException
    at org.bukkit.craftbukkit.inventory.CraftInventory.setContents(CraftInve
    ntory.java:59)
    at net.gamesketch.bukkit.tetris.GAME.Game.restore(Game.java:59)
    at net.gamesketch.bukkit.tetris.PLAYER.LocalPlayer.setGame(LocalPlayer.j
    ava:26)
    at net.gamesketch.bukkit.tetris.Core.onCommand(Core.java:82)
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40)
      ... 12 more
     

Share This Page