Перейти к содержимому
Mineforgian

SillinessLimiter

IP address based authentication

Загрузки
688
Подписчики
1
Обновлён
21 марта 2025 г.
Лицензия
MIT

Опубликован 30 мая 2024 г.

SillinessLimiter

SillinessLimiter is a little strange IP address based authentication with the intention of providing an easy choice to the player of how they want to secure their nickname on an offline server while also not being annoying

Also includes customizable language file and dynamic IP support

This plugin doesn't use any of the NMS stuff, so it should work on other versions too

However, tested versions can be found in the Versions tab Kick message, which, in a silly way, describes a reason why the player was kicked

Commands

/silly-help
  • displays in-game command documentation

A documentation of every command, that also shows if this command can show your ip

permission: nnhomoli.sillinesslimiter.cmds.sillyhelp

/silly-limit
  • links your nickname to IP address you are currently on, needs confirmation. Can be used with an argument to link a specific IP

permission: nnhomoli.sillinesslimiter.cmds.sillylimit

/silly-unlimit 
  • if linked, it unlinks your nickname from the currently used IP and needs confirmation. Can be used with an argument to unlink a specific IP

permission: nnhomoli.sillinesslimiter.cmds.sillyunlimit

/silly-list
  • shows the list of linked IPs to your nickname

A list that shows all of the linked IPs with the dynamic one and the auth status as well

permission: nnhomoli.sillinesslimiter.cmds.sillylist

/silly-confirm
  • just to confirm changes, nothing else

permission: nnhomoli.sillinesslimiter.cmds.sillyconfirm

/silly-deny
  • just to deny changes, nothing else

permission: nnhomoli.sillinesslimiter.cmds.sillydeny

/silly-reload
  • config and language reload, server op and console only

permission: nnhomoli.sillinesslimiter.cmds.sillyreload

/silly-switch
  • Switches the auth status for the user individually, needs confirmation

permission: nnhomoli.sillinesslimiter.cmds.sillyswitch

/silly-dynamic-limit
  • links your nickname to the dynamic ip, supports arguments. If used without arguments, will default to the second octet of current IP, needs confirmation

permission: nnhomoli.sillinesslimiter.cmds.sillydynamiclimit

/silly-dynamic-unlimit
  • unlinks the dynamic ip from your nickname, needs confirmation

permission: nnhomoli.sillinesslimiter.cmds.sillydynamicunlimit

Config

Permission-by-default ## true/false
  • Grants every permission of this plugin commands, except reload, true by default
 Login-link-message ## true/false
  • Display a message when the player joins without linked IP, this can be changed in lang.yml. True by default
Max-IP-Allowed ## Int value
  • The maximum number of IP that can be linked to the same nickname, 4 by default
check-after-confirm ## true/false
  • Check if player IP is still linked after confirm, false by default
confirmation-timeout ## Int value
  • Time in seconds after which player confirmation request will be removed, 180 by default

Language

  • For more info about this one, check lang.yml

Player Data

  • For more info about this one, check data.yml

Ченджлог

1.2.32Релиз1.21.3, 1.21.4, 1.21.5 · 21 марта 2025 г.

This version changes a ton of internal stuff because I just saw how ugly-looking it is

1.2.31Релиз1.21.2, 1.21.3, 1.21.4 · 19 марта 2025 г.

This version just brings mostly small internal changes, i didn't really care to publish

This plugin is finished, unless something really breaks/is broken

You can check github actions to see if this plugin will at least launch on the latest purpur

1.2.3Релиз1.20.6, 1.21, 1.21.1 · 28 августа 2024 г.

All of the stuff was unarchived

If you have any issues, please report them


Changes:

-- Actually fixed IP check now and other stuff, i hope

-- Removed online detection, cause annoying

-- Added confirmation timeouts to avoid memory leaks, includes new language ( timeout ) and config ( confirmation-timeout ) key

-- Auto-updater to a language file

1.2.2Альфа1.20.6, 1.21, 1.21.1 · 16 июля 2024 г.

This version is broken

This plugin in now unsupported

might work later, might not


changes:

-- another grammar fixes

-- overall clarification

-- another optimizations, improvements

-- IP check should work properly now

-- Now, if online mode is detected, the plugin will automatically disable itself

-- silly-reload can now reload only specific parts by using arguments, or none to reload them all

1.2.1Релиз1.20.5, 1.20.6, 1.21 · 17 июня 2024 г.

-- overall code optimization and improvements

-- Fixed language file comments

-- Made default language, closer to the idea of "Silly", I had in mind

1.2Релиз1.20.5, 1.20.6, 1.21 · 15 июня 2024 г.

Main changes

-- Added dynamic IP support, done by selecting a range of octets the player would want to limit by arguments in /silly- dynamic-limit or defaulting to the only second octet of the current one

-- Added a way for the player to disable or enable authentication on their account, done by using /silly-switch

-- Added in-game command documentation through /silly-help

-- Moved the player data from the plugins config to a different file. Automatically converts players to the newer version

-- Localization fixes, additions for new commands, and such. If you plan to update from the previous version, you need to generate a new lang.yml by deleting or moving the old one and restarting the server. Or you can just copy it from the repo.

-- Permission names have been changed

-- The IP check has been moved to the preLoginEvent rather than the JoinEvent

1.1.2Релиз1.20.4, 1.20.5, 1.20.6 · 11 июня 2024 г.

-- Fixed Max-IP-Allowed check

-- The IP check for /silly-confirm is now decided by config

-- Updated default language file

1.1.1Релиз1.20.4, 1.20.5, 1.20.6 · 8 июня 2024 г.

-- fixed /silly-confirm "success" language condition

-- /silly-list IP list line break is moved to the code

-- code cleanup

Комментарии

Загружаем…