Skip to content

Commit

Permalink
release: Version 1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
4drian3d committed Apr 19, 2023
1 parent 0bb3a71 commit a1ff321
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 18 deletions.
31 changes: 21 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,45 +1,56 @@
# Spark-Expansion
Spark Expansion for MiniPlaceholders

## Supported Platforms

- Paper
- Velocity
- Fabric (not yet)
- Krypton (not yet)

## Placeholders

### TPS

**Only available in Paper**

#### `<spark_tps>`

Returns a formatted summary of the average TPS in the last 5s, 10s, 1m, 5m and 15m.

#### `<spark_tps_5s>`
#### `<spark_tps:5s>`

Returns a formatted representation of the average TPS in the last 5 seconds.

#### `<spark_tps_10s>`
#### `<spark_tps:10s>`

Returns a formatted representation of the average TPS in the last 10 seconds.

#### `<spark_tps_1m>`
#### `<spark_tps:1m>`

Returns a formatted representation of the average TPS in the last minute.

#### `<spark_tps_5m>`
#### `<spark_tps:5m>`

Returns a formatted representation of the average TPS in the last 5 minutes.

#### `<spark_tps_15m>`
#### `<spark_tps:15m>`

Returns a formatted representation of the average TPS in the last 15 minutes.

### Tick Duration (MSPT)

**Only available in Paper**

#### `<spark_tickduration>`

Returns a formatted summary of the average tick durations in the last 10 seconds and 1 minute.

#### `spark_tickduration_10s>`
#### `spark_tickduration:10s>`

Returns a formatted representation of the average tick duration in the last 10 seconds.

#### `<spark_tickduration_1m>`
#### `<spark_tickduration:1m>`

Returns a formatted representation of the average tick duration in the last minute.

Expand All @@ -52,15 +63,15 @@ Returns a formatted representation of the average tick duration in the last minu

Returns a formatted summary of the average CPU usage (system) in the last 10 seconds, 1 minute and 15 minutes.

#### `<spark_cpu_system_10s>`
#### `<spark_cpu_system:10s>`

Returns a formatted representation of the average CPU usage (system) in the last 10 seconds.

#### `<spark_cpu_system_1m>`
#### `<spark_cpu_system:1m>`

Returns a formatted representation of the average CPU usage (system) in the last minute.

#### `<spark_cpu_system_15m>`
#### `<spark_cpu_system:15m>`

Returns a formatted representation of the average CPU usage (system) in the last 15 minutes.

Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
group = io.github.miniplaceholders
version = 1.0.0
description = Example-Expansion
description = Spark-Expansion
5 changes: 2 additions & 3 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,11 @@ metadata.format.version = "1.1"
[versions]

velocity = "3.2.0-SNAPSHOT"
paper = "1.19.3-R0.1-SNAPSHOT"
paper = "1.19.4-R0.1-SNAPSHOT"

blossom = "1.3.1"
shadow = "8.1.1"
runtask = "2.0.1"
pluginyml = "0.5.3"

miniplaceholders = "2.0.0"
spark = "0.1-SNAPSHOT"
Expand All @@ -28,4 +27,4 @@ blossom = { id = "net.kyori.blossom", version.ref = "blossom" }
shadow = { id = "com.github.johnrengelman.shadow", version.ref = "shadow" }
runvelocity = { id = "xyz.jpenilla.run-velocity", version.ref = "runtask" }
runpaper = { id = "xyz.jpenilla.run-velocity", version.ref = "runtask" }
pluginyml = { id = "net.minecrell.plugin-yml.bukkit", version.ref = "pluginyml" }

4 changes: 0 additions & 4 deletions paper/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
plugins {
alias(libs.plugins.pluginyml)
}

dependencies {
compileOnly(libs.paper.api)
compileOnly(libs.miniplaceholders)
Expand Down

0 comments on commit a1ff321

Please # to comment.