Spectate Disabler 1.5.1

Spectator mode can be buggy and cause issues! Disable it with this plugin.

  1. Lme999
    Tested Minecraft Versions:
    • 1.8
    • 1.9
    • 1.10
    • 1.11
    • 1.12
    With Spectate Disabler you can disable the new spectator game mode introduced in 1.8.
    Please check out my new plugin Gamemode Disabler that includes support for disabling all game mode types.
    Features:
    1. Disables the ability for players to switch to spectator gamemode.
    2. Players who try to switch to the gamemode will be set to their last known
    game mode.
    3. OP or people with the permission can bypass it!
    4. Super lightweight! The plugin is under 6 KB so it won't create any lag issues.
    5. ALL messages are configurable through the config file!
    6. Color codes are supported through config messages.
    7. Per-world option, if set to true, only worlds listed will have spectator mode blocked! If set to false then it will affect the entire server.
    8. Teleportation blocker. If enabled in the config, players will not be able to teleport while on spectator mode. If per-world is enabled, this will only affect worlds listed in the world list for the per-world option.
    This (the teleport blocker if enabled) will cancel every type of teleport, including warping, /tp and /spawn! This by default is disabled in the config.

    Permissions:
    spectator.*
    - Gives access to all spectator permissions.
    spectator.reload - Allows access to the reload command.
    spectator.version - Allows access to the version command.
    spectator.bypass - Allows players to bypass the blocker.
    spectator.tpbypass - Allows the player to bypass the teleport blocker.

    Commands:
    /spectatereload
    and /sreload - Reloads the configuration to apply most recent changes.
    /spectateversion and /sver - Checks plugin version.

    Config:
    # If use per world is enabled, only worlds in the list will have spectator mode blocked.
    UsePerWorld: false
    Worlds:
    - world
    - world_nether
    - world_the_end
    TeleportBlock: false
    NoPermMsg: '&4You don''t have permission to go into spectator mode!'
    ReloadedMsg: '&aSpectate Disabler config has been reloaded!'
    VersionMsg: SpectateDisabler Version: 1.5.0
    NoPermReloadMsg: '&4You do not have permission to use this command!'
    NoTpPermMsg: '&4You do not have permission to teleport while on spectator mode! Change
    gamemodes then try again!'

    Setup:
    Setting this plugin up is rather easy. Just pop it into your plugins folder and start your server. Configure your messages and reload the config. Then set up your permissions for people you want to be able to bypass it and done!


    I created this plugin because I needed to disable the game mode on my server. I saw there was no working plugin like this so I decided to create my own and post it for everyone to use :)

    If you like the resource please give it a review!
    Special thanks to Ninfiniti for the resource icon, HeadGam3z, and RazihelYT for contributing to the code


    If it is not working, or you receive an error please inform me!

Recent Updates

  1. Bug Fix
  2. 1.5.0 Quick Fixes
  3. 1.8.8 Update

Recent Reviews

  1. deuscat
    deuscat
    5/5,
    Version: 1.4.4
    Perfect for what I need it for, hasn't needed updating during the 1.8 to 1.9.2 to 1.9.4 or to 1.10 for me.
  2. OzzyPyro
    OzzyPyro
    5/5,
    Version: 1.4.4
    Have had no Issues with this plugin so far, works great! I'm updating my server to 1.9 soon, hoping this will be updating as well.
    1. Lme999
      Author's Response
      Thanks! If you encounter any issues in 1.9 be sure to let me know and I'll look into fixing them. The current version should work fine on 1.9 though.
  3. Vilican
    Vilican
    5/5,
    Version: 1.4.4
    Works fine, fixed my issues!
  4. GhostrXzz
    GhostrXzz
    5/5,
    Version: 1.4.4
    Works perfectly as of the latest update :D
    1. Lme999
      Author's Response
      Happy it's working!
  5. runescapejon
    runescapejon
    5/5,
    Version: 1.4.3
    o.o thank god this plugin fixes my problems
    1. Lme999
      Author's Response
      Thanks :)
  6. det483
    det483
    5/5,
    Version: 1.4.3
    thank you :D
    1. Lme999
      Author's Response
      I'm glad you like it!
  7. Johandrex
    Johandrex
    5/5,
    Version: 1.4.3
    Works as expected, thanks!
  8. HeadGam3z
    HeadGam3z
    5/5,
    Version: 1.4.3
    Awesome.
  9. Kibounohikari
    Kibounohikari
    5/5,
    Version: 1.3
    This is exactly what I was looking for and needed! Excellent plugin, and works without bothering my admin. :D
    1. Lme999
      Author's Response
      Thanks! I'm glad you like it!
  10. fabien91
    fabien91
    5/5,
    Version: 1.2
    Could you add a fonctionality for disable just teleportation when the spectate gamemode is active with a permission please ?
    1. Lme999
      Author's Response
      What exactly do you mean? Post in the resource discussion about possible new features please.