COWMODSКаталог модов

LightCheck

To call the player to check the cheats

Автор: kainlight1,7 тыс.1обновлён 13 февр. 2025 г.
УправлениеУтилиты

Описание

image

JAVA 17 REQUIRED


› Features

  • Russian and English language support
  • Checking with or without timer
  • Titles, bossbar and chat messages

› Abilities:

  • Teleporting to staff during check
  • Teleportation of the player to the previous location
  • Prohibit movement
  • Prohibit throwing things away
  • Prohibit dealing and receiving damage
  • Prohibit breaking blocks
  • Prohibit placing blocks
  • Prohibit writing to the chat (except for a personal chat during the check with the inspector)
  • Prohibition of all commands except those allowed specified in the config
  • The very recognition of the use of cheats
  • Execution of commands at self-recognition, exit and kick
  • Chat messages from the person being checked come only to inspector

› Screenshots

7d23b3c23ecc6bcfa777fd16dcd2ee46077f8640 7d775ed462693e815bc4655e8a43e555a2df591f

› Commands and Permissions

CommandDescriptionPermission
checkHelp by commandslightcheck.check
check listThe list of currently checkinglightcheck.list
check <player>Summon a player to checklightcheck.check
check confirmConfirm the use of cheats (for player)lightcheck.confirm
check approveTo find the player guiltylightcheck.approve
check disproveTo find the player innocentlightcheck.disprove
check timer continueContinue the timer to the playerlightcheck.timer.continue
check timer stopStop the timer to the playerlightcheck.timer.stop
check stop-allCancel all current checkslightcheck.stop-all
check reloadReload configurationslightcheck.reload
Permissions without commands
lightcheck.timer.*
lightcheck.bypass
lightcheck.admin

› API

Maven

<dependency>
  <groupId>ru.kainlight.lightcheck</groupId>
  <artifactId>api</artifactId>
  <version>2.2.5</version>
  <scope>provided</scope>
</dependency>

> $ mvn install

Gradle — Groovy DSL:

repositories {
    mavenCentral()
    maven {
        name = "GitHubPackages"
        url = "https://maven.pkg.github.com/kainlighty/LightCheck"
    }
}

dependencies {
    compileOnly 'ru.kainlight.lightcheck:api:2.2.5'
}

Gradle — Kotlin DSL:

repositories {
    mavenCentral()
    maven {
        name = "GitHubPackages"
        url = uri("https://maven.pkg.github.com/kainlighty/LightCheck")
    }
}

dependencies {
    compileOnly("ru.kainlight.lightcheck:api:2.2.5")
}

Events

NameDescription
PlayerCheckEventYou can cancel a player challenge for checking
or do something at that moment.
PlayerApproveEventIt is called when the player is confirmed for checking
PlayerDisproveEventIt is called when a player is disproved on checking

Methods

Get provider: LightCheckAPI.getProvider()

APIDescription
getCheckedPlayers()Get players who are being checked
getCheckedPlayer(player)Get a player who is being checked
getCheckedPlayerByInspector(inspector)Get the player by the inspector who is being checked
isChecking(player)Check if the player is being checking
isCheckingByInspector(inspector)Check if the player is being checked by the inspector
getInspectorByPlayer(player)Get InspectorPlayer for the player being checked
getInspectors()Get a list of all inspectors
getCachedCheckLocations()Get all locations for checks
getOccupiedLocations()Get all occupied locations for checks
call(player, inspector)Start a player check
stopAll()Stop all checks
addLog(username, text)Add your own event to the log for the specified player
CheckedPlayerDescription
getPlayer()Get a bukkit player
getInspector()Get an InspectorPlayer from the player
getPreviousLocation()Get the previous location (from where he was teleported)
approve()Approve the player punishment
disprove()Disprove the player (do not punish)
teleportToInspector()Teleport the player to the inspector
teleportToCheckLocation()Teleport to an unoccupied location for checks
teleportToPreviousLocation()Teleport to the previous location
startTimer()Start the countdown to punishment
setTimer(value)Set or change value for the timer
getTimer()Get the current timer value from the player
hasTimer()Check if the player has a timer (if stopped, it is also true)
stopTimer()Stop the timer
InspectorPlayerDescription
getPlayer()Get a bukkit player
getCheckedPlayer()Get an CheckedPlayer from the inspector
getPreviousLocation()Get the previous location (from where he was teleported)
teleportToPreviousLocation()Teleport to the previous location

Галерея

In checkingAfter disproved

Последние версии

Все версии →
release

Minor fixes and befriended the API with Java

2.2.5
13 февр. 2025 г.1,1 тыс.Minecraft: 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4paper, purpur, spigot
Скачать
Что нового
Some messages gave an error on the Spigot core <details> <summary>API</summary> - The API is now more Java-friendly - Added new methods to the API: `getInspectorByPlayer()`, `getInspectors()`, `addLog()` - Fixed the behavior of methods in `CheckedPlayer()`: `setTimer()`, `getTimer()`, `hasTimer()` - You can now pass `null` to methods in the API For `Boolean` values, no validation is needed on your part; it will return `false` if `null` - The `stopAll()` method now returns a list of `CheckedPlayer`. It includes those for whom the check was stopped. </details>
release

Custom locations for teleportation for checking

2.2.4
9 февр. 2025 г.62Minecraft: 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4paper, purpur, spigot
Скачать
Что нового
### Changed - In `abilities`: `teleport-to-staff` has been renamed to `teleport-to-inspector`. - The approach to using the API has been changed. ### Added - Information about available commands is now sent when the `/check` or `/check help` command is used. - It is now possible to teleport a player for inspection to specific locations For example, you can create buildings and specify their locations so that all checks are conducted there. - Now, titles and action bars are displayed for the inspector to indicate how much time is left before the player is penalized.
release

Improvements

2.2.3.1
31 янв. 2025 г.55Minecraft: 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4paper, spigot
Скачать
Что нового
**Fixed:** - When changing the language, the reload command did not restart it. - During the check, the player could teleport to the inspector under the blocks. **Added:** - A message about inactive checks when executing commands. Example: `/check approve`. - Multi-message support. **MiniMessage** is selected by default. - The ability to disable hover message. To do this, leave the `"hover"` parameter empty in messages. Example: ```yaml chat: hover: "" ```
release

2.0.7

2.0.7
19 янв. 2024 г.498Minecraft: 1.16, 1.16.1, 1.16.2, 1.16.3, 1.16.4, 1.16.5paper, spigot
Скачать
Что нового
Older version supported 1.16 (java 16)