cSwitch

cSwitch - Easily switch between creative and survival mode

Version: 1.3.1

RB: 1.3.2-R2.0

Description

Provides several commands and features to change players game modes. Compatible with any SuperPerms permissions plugin.

Features

  • Commands to change game mode
  • Change your, someone else's, or the server's game mode.
  • Use signs to change game modes

Permissions/Commands

  • cswitch.crsu - /creative [player] (alias: /cr) & /survival [player] (alias: /su) - Allows you to change your or someone else's game mode to creative or survival.
  • cswitch.toggle.player - /togglemode [player] (aliases: /tmode , /mode) - Allows you to toggle your or someone else's game mode between creative and survival.
  • cswitch.toggle.server - /toggleservermode (aliases: /togglesmode , /tsmode , /smode) - Allows you to toggle the server's game mode between creative and survival.
  • cswitch.toggle.* - /togglemode & /toggleservermode - Gives you both cswitch.toggle.player and cswitch.toggle.server.
  • cswitch.destroy - /dmodesign (aliases: /dmsign , /dmodes) - Allows you to destroy a mode sign when left clicking it rather than activating it, one time use!
  • cswitch.version - /cswitchversion (aliases: /csversion, /csv) - Allows you to check for a new version and notifies you when you join the game of a new version if there is one.
  • cswitch.reload - /cswitchreload (aliases: /csreload, /csr) - Allows you to reload the configuration for cSwitch.
  • cswitch.* - Full Permissions - Allows you to use all features of this plugin.

Configuration

  • notify-switch - Boolean - If set to true, will display a message when a mode is changed for another player or the server.
  • notify-message - String - The message displayed to a user when their mode was changed by someone else. Use +player for the player and +mode for the mode. Allows colors, but then it must be closed in apostrophes (single quotes). If you don't specify any colors, it is automatically green. Ex: notify-message: '&3+player changed your game mode to +mode'.
  • notify-message1 - String - The message displayed to a user when they changed someone else's mode. Use +player for the player and +mode for the mode. Allows colors, but then it must be closed in apostrophes (single quotes). If you don't specify any colors, it is automatically green. Ex: notify-message1: '&fYou changed +player''s game mode to +mode'.
  • notify-message2 - String - The message broadcasted when the mode of the server is changed. Use +player for the player and +mode for the mode. Allows colors, but then it must be closed in apostrophes (single quotes). If you don't specify any colors, it is automatically green. Ex: notify-message2: '&d+player changed the server game mode to +mode'.

Using signs

To use signs to change your game mode, make a sign like this:

  1. anything
  2. [mode] or [cSwitch]
  3. creative/1 or survival/0 or toggle
  4. anything

Signs use the same permissions as the corresponding commands.

If you have any suggestions, comments, or anything you liked to say, don't hesitate to!

Source code included in .jar file

Full Change Log


Comments

Posts Quoted:
Reply
Clear All Quotes

About This Project

  • Project ID
    33187
  • Created
    Oct 21, 2011
  • Last Released File
    Oct 22, 2012
  • Total Downloads
    5,319
  • License

Categories

Members

Recent Files