Approved [v1.12] Invincible Tiles

Discussion in 'Plugin Releases' started by Olink, Jan 25, 2012.

  1. Olink TShock Developer

    This plugin will let you blacklist certain tiles and walls. Sick and tired of people destroying your dungeon? Want to encase spawn in a block? Now you can.
    This plugin will prevent tiles and walls from being broken if they are blacklisted.
    APIVersion 1.11
    Terraria Version: 1.1.2
    Commands:

    /blacktile <id> - this adds the tile id to the black list. Alias: /bt
    /whitetile <id> - this will remove them from the blacklist. Alias /wt
    /blackwall <id> - this adds the wall id to the black list. Alias /bw
    /whitewall <id> - this will remove the id from the blacklist. Alias /ww


    Permisisons:
    blackTile and whiteTile are required to use the corresponding commands.
    blackWall and whiteWall are required to use the corresponding commands.
    breakinvincible will override any invincible tiles or walls.



    Plugin: http://dl.dropbox.com/u/21171144/InvincibleTiles.dll
    Source: https://github.com/Olink/Invincible-Tiles
    Alrof, InanZen and Brockway like this.
  2. darkos Tshock supporter and programming hack.

    dude you are on a freakin roll!

    so as an example, i can blacklist iron ore and therefore iron ore could not be destroyed on the entire map?
  3. Gamesmann Member

    Nice job Olink :)
  4. Olink TShock Developer

    darkos: correct. Also, whatever wall had the same id as iron ore would also be invincible.
  5. Iscar Member

    Oh nice!!! Thanks :D
  6. Brockway Member

    Fucking good !!!!!
  7. Snirk Immington TShock Plugin Developer

    Brilliant. Now I can protect those irridescent brick barriers I use to stop spread of the hallow/corruption.
  8. Bowzer Member

    Maybe im typing something wrong but no go for me, i type for example /blacktile 134 so it should be blue bricks but people can still destroy blue bricks. Using TShock 3.5.1.0122.
  9. Loki New Member

    The link to the source code goes to your Schematics source code. Its not a big deal to browse to your Invincible tile source code... just thought you should be made aware.
  10. Olink TShock Developer

    all my links likely do that :D
  11. Snirk Immington TShock Plugin Developer

    Um... is there a permission for superadmin to destroy these tiles? That would be a good idea.

    Edit: By the way, there is absolutely NO way to beat this. Except explosives...
  12. Olink TShock Developer

    Ok, I added a permission, breakinvincible
    Code:
     if (args.Player.Group.HasPermission("breakinvincible"))
    Added two more commands,
    blackwall and whitewall

    They do the same thing as tile, but this affects walls.

    Uhhh... same permisisons except wall where tile was, so blackWall i think.

    Original link is updated.
    Snirk Immington likes this.
  13. Snirk Immington TShock Plugin Developer

    I love fixes that are one line (excluding parenthesis) long!
  14. Olink TShock Developer

    Everyone should redownload, I think I left some debug code in it that will spam your console.
  15. Bowzer Member

    This plugin still dont work for me i add the tile to ban and says its baned even checked db but still the tile can be destroyed.
  16. oooopoooo New Member

    Perfect!
    this is EXACTLY what i wanted when i made my plugin suggestion!
    thank you so much!
  17. Olink TShock Developer

    Bowzer, you are known for whining about things not working when they work fine. Until someone more trustworthy seconds your claim, I will not waste time looking for a red herring.
  18. WhiskeyD Member

    <3. that is all.
  19. Bowzer Member

    Its fine you can wait until someone else claims what i say, i just wanted to give some information so when someone tries it and thinks its something wrong with server or whatever they will know its the plugin thats borked up.

    Works.
  20. WhiskeyD Member

    so, if I blacklist the ID for wood (30), this will also blacklist Green Candy Cane Wall (30, also)??

    I know you have other stuff to do, but is it possible to blacklist tiles and walls seperately?

Share This Page