Home›Java›Mods›[GameModeRent] Timed GameMode Control, Limited GameModes, GameMode Inventories [Java 8]
ModsJava

[GameModeRent] Timed GameMode Control, Limited GameModes, GameMode Inventories [Java 8]

Java mod listed for Minecraft 1.10. Download on the author's site.

⬇ Download on Spigot
GameModeRent ​
Ever wanted to allow your players to earn the ability to use any gamemode for a fixed amount of time? This plugin makes that a possibility!

GameModeRent stores and tracks the amount of time a player on your server spends in a specific gamemode, and then strips them of that gamemode when they run out of time. Not only that, but it displays two messages to the player notifying them of their imminent gamemode change.

In order to make plugin requirements a little lighter, GMR comes bundled with a simplified Limited Creative handler. Preventing the player from performing such actions as:
The enabled gamemodes can be altered in the plugins config.yml , along with various other settings.

Screenshots
Spoiler: TitleAPI Alert - 5 minute warning
[​IMG]
Spoiler: TitleAPI Alert - 1 minute warning
[​IMG]
Spoiler: GameMode Changed Alert
[​IMG]


Dependencies
GameModeRent uses the following API's:
Commands
GameModeRent uses the following commands and permissions.

Default
OP
Other Permissions
Aliases
GameModeRent supports the following aliases:
Arguments
Config
Spoiler: Config: config.yml
Code (Text):

###########################################
## SETTINGS FILE FOR GAMEMODERENT PLUGIN ##
###########################################

## Prefix
prefix: "&6[&4GMRent&6] &r"

## Commands - Remove conflicting commands, should you need to.
commands:
- gmr
- gmrent
- gamemoderent
- rentmode
- moderent

## Punishments - Execute various punishments on a player for having
## blacklisted items in their inventory.
punishment:
  ## Enabled
  enabled: true
  ## Item Blacklist
  ## Use Material Names: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Material.html
  ## You may also use ItemID's for this
  ## Using the format "MATERIAL:INDEX" allows you to limit DataTypes, too.
  ## Leave Empty to Disable
  blacklist:
  - COMMAND
  - BARRIER
  - BEDROCK
  - MINECART_COMMAND
  ## GameModes to filter
  modes:
  - CREATIVE
  ## Punishment Systems
  systems:
    ## Console Command Punishment
    console:
      enabled: true
      points: 0
      commands:
      - "gmrent remove [player] [mode] 5m"
    ## Economy Punishment
    economy:
      enabled: true
      points: 0
      value: 100
      message: "&cYou were fined &2[amount]&c for having blacklisted items."
    ## Kick Punishment
    kick:
      enabled: true
      points: 50
      command: "kick [player] [reason]"
      message: "&cYou have been kicked for having blacklisted items."
    ## Ban Punishment
    ban:
      enabled: true
      points: 100
      command: "tempban [player] [time] [reason]"
      message: "&cYou have been banned for having blacklisted items."
      time: 1h

## Rewards System
reward:
  ## Reset - When the time should be reset
  reset: 60
  ## Rewards
  rewards:
    tier_001:
      enabled: true
      intervals:
      - 10
      - 20
      - 30
      - 40
      - 50
      - 60
      commands:
      - "gmrent add [player] creative 30m"

## Default Mode
default: SURVIVAL

## Rented Modes
modes:
- CREATIVE

## Stored Inventories
inventories:
- SURVIVAL
- CREATIVE

## Check Interval - Minutes
interval: 1

## Features
features:
  ## Play Sound on Teleport
  sound: true
  ## Switch to Default Mode on Join
  default: true
  ## Teleport Player to Safety
  teleport: true
  ## Create Firework on Teleport
  firework: true
  ## Holograms
  holograms: true

## Title Settings
titles:
  messages:
    heading: "&4WARNING, [player]!"
    subheading: "&fYou have &6[time] &fleft in &2[mode]&f mode!"
  times:
    fade:
      in: 5
      out: 5
    stay: 120
    display:
    - 10
    - 5
    - 2
    - 1

## Metrics Setting
metrics: true

## Updater Settings
updater:
  enabled: true
  download: true
  notification: true
  ## Update Check Interval - in minutes.
  interval: 60
  ## Automatically Install Latest Version
  install: true

## Do Not Change Version
version: 1.4
 
Spoiler: Config: limit_creative.yml
Code (Text):

####################################
## Limited Creative Configuration ##
####################################

## Whether LimitedCreative is Enabled
enabled: true

## List of Items that cannot be placed in Creative.
## Use Material Names: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Material.html
## You may also use ItemID's for this
place:
- TNT
- BEACON
- BARRIER
- BEDROCK
- COMMAND
- DRAGON_EGG
- STRUCTURE_BLOCK
- STRUCTURE_VOID
- ENDER_PORTAL_FRAME
- ENDER_PORTAL
- LAPIS_BLOCK
- IRON_BLOCK
- GOLD_BLOCK
- COAL_BLOCK
- DIAMOND_BLOCK
- EMERALD_BLOCK
- GOLD_ORE
- IRON_ORE
- COAL_ORE
- LAPIS_ORE
- DIAMOND_ORE
- REDSTONE_ORE
- EMERALD_ORE
- QUARTZ_ORE

## List of Items that cannot be broken in Creative.
break:
- BEACON
- BEDROCK
- BARRIER
- COMMAND
- DRAGON_EGG
- STRUCTURE_BLOCK
- STRUCTURE_BLOCK
- STRUCTURE_VOID
- ENDER_PORTAL_FRAME
- ENDER_PORTAL

## List of Items that cannot be interacted with in Creative.
interact:
- ANVIL
- CHEST
- BEACON
- HOPPER
- DROPPER
- FURNACE
- WORKBENCH
- DISPENSER
- ENDER_CHEST
- ENCHANTMENT_TABLE
- COMMAND
- BREWING_STAND
- STRUCTURE_BLOCK
- DRAGON_EGG

## List of Entities that cannot be interacted with in Creative.
entities:
- ITEM_FRAME
- MINECART_CHEST
- MINECART_FURNACE
- MINECART_HOPPER
- MINECART_COMMAND
- HORSE

## List of Mobs that cannot be spawned in Creative.
mobs:
- SPIDER
- SKELETON
- ZOMBIE

## Other Settings
## Settings that are true mean that these features are disabled.
## Ex: drop: true = Players cannot drop items.
events:
  item:
    drop: true
    pickup: true
  manipulate:
    armorstand: true
 

TODO
Plans
There are plans to integrate MySQL into this plugin in order to share gamemode times over multiple servers, but that is currently not on my priority list.
Aside from this, there are also plans to make this a premium plugin once it exits the beta stages. This may not be the case, though.

Servers
This plugin is currently active on my public server as a reward for voting. You may join and test it out for yourself as a live example before downloading the plugin: play.projectrogue.co.uk

Metrics
This plugin uses Metrics and collects information on the servers it is running on. You may disable this feature at any time by switching the metrics value to false in the plugins config.yml
[​IMG]
Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

[GameModeRent] Timed GameMode Control, Limited GameModes, GameMode Inventories [Java 8] is a free Minecraft Java mod. Compatible with Minecraft 1.10. Downloaded 2,143 times (via Spigot). Download it and open it directly in the game.

Explore more