iWarp - warps with upkeep (addon to EssentialsX) icon

iWarp - warps with upkeep (addon to EssentialsX) -----

Player warps expire unless expressly renewed




Credit to akdukaan for the addition.

You can now specify a warp name format regex in the config:
Code (YAML):
# this specifies a regular expression (regex) for what's allowed in a warp name
# you can read about regex, e.g in: https://docs.oracle.com/javase/8/docs/api/java/util/regex/Pattern.html
# chatgpt is also pretty good at coming up with regex if you already have a basic understanding.
# If you do not know what you're doing, it's probably best to leave this value alone.
warp-name-format
: "^.{1,15}$"
----------, Jul 11, 2023


Previous version was tab-completing commands which you did not type. Fixed that issue.
----------, Jul 23, 2021

Thanks to @DrBot for the majority of work that went into this update.

Subcommands are now only tab-completed when the player in question has the necessary permissions.

When creating a iWarp war and not specifying the amount of days, 1 day will be assumed.
----------, Jul 23, 2021

Fixed issue that allowed one to rename their iWarp warp to any (possibly existing) non-iwarp warp.

Thanks to @DrBot
----------, Jul 5, 2021

They would previously cause error while attempting to save the warp to a file.

Now periods will not be allowed in warp names. There is a separate new message for such cases when creating a warp.

New message:
Code (yalm (Unknown Language)):
name-cannot-have-period: '&cThe name of the warp &6{name}&c cointains a period (&7.&c) which is not allowed'
Thanks to @AcornMC for bringing this to my attention.
----------, Oct 4, 2020

Added possibility to require confirmation for renewal

Fixed typo in help message

New config entry:
Code (YAML):

confirm
:
  create
: false
  move
: false
  renew
: false # new
New message in config:
Code (YAML):


messages
:
  confirm-renew
: '&7Type ''confirm'' to confirm the renewal for warp &6 {name }&7 for
    &8 {days }&7 days. The cost is &8 {amount }&7.' [7code ]
----------, Aug 3, 2020

The new addon is a warp limiter.

It allows (when enabled) to limit the amount of warps each player is allowed to create through iwarp.

New section in config:
Code (YAML):
 warp-limiter:
    enabled
: false # whether or not the addon is enabled
    limits
:     # iwarp.limits.override -> no limit
default number of warps
default: 1 # iwarp.limits.default -> warps
VIP: 3 # iwarp.limits.vip -> VIP number of
Whoever has the iwarp.limits.default permissions (by default, everyone) can create 1 warp and whoever has iwarp.limits.vip permission (by default, nobody) can create 3 warps.
Whoever has the iwarp.limits.override permission can create infinitely many (read: 2^31 - 1) warps.

Only the permission associated with the biggest number is taken into account.
----------, Jul 17, 2020

Added BStats.

There's a config option to disable BStats if you wish.
----------, Mar 15, 2020

Also fixed typo in plugin.yml that meant Essentials and Vault weren't proper dependencies (which caused errors in console for newer versions).

New subcommand:
/iwarp arename <oldname> <newname>
New permission:
iwarp.command.adminrename - defaults to OP
----------, Feb 26, 2020

  • Making sure creation accepts 'confirm' not any old message
  • Added commands that can be executed on warp expiration
    • commands-on-warp-expire in config.yml
    • {player}, {name} and {coords} placeholders
  • Added new command that allows to change expiration date of a certain warp for admins (or those with permission) free of charge. Adde a message to go with the command
    • /iwarp changeexpiration <warpname> <time>
    • Permissions: iwarp.command.changeexpiration (default: op)
----------, Jan 21, 2020

Fixed issue with faulty create conversation.
Also removed a debug output message.
----------, Oct 22, 2019

Fix issue where /iwarp create was able to overwrite non-iwarp warps (i.e warps made with /setwarp)
----------, Jul 26, 2019

Fixed issue with the renew command where attempting to renew a non-existing warp would charge the player money with no effect.
Now, a message saying the warp was not found will be displayed instead.
----------, Jul 10, 2019

Added support for offline player lookup in /iwarp info command and made it config-toggleable. ( lookup-offline-players in config[/url])

Added possibility to show expiry notification when a warp is about to expire. ( addons.warp-expiry-notifier in config, you can make only the owner see the message with only-owner and change the number of days of notifications with days-for-notification)

Added possibility to list (or not list) warps owned through Essentials in /iwarp list. ( include-essentials-warps-in-list in config)
----------, Jun 28, 2019

Now, you can enable logging of expired warp locations in the config.
The logs will be stored in oldwarps.yml.
----------, Jun 14, 2019

Added option to have a confirm message when creating or moving a warp, plus messages involved.

Added a reload command to reload config + warps, messages involved.

Expired warps are now listed in console when expired.

Minor code revision.
----------, Jun 13, 2019

Resource Information
Author:
----------
Total Downloads: 2,118
First Release: Jun 9, 2019
Last Update: Jul 11, 2023
Category: ---------------
All-Time Rating:
3 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings