Skip to content

Commit 89e7ba0

Browse files
Merge pull request #1 from SLNE-Development/feat/kotlin-surfapi-commandapi
Rework Surf Essentials
2 parents a87b522 + 3048d10 commit 89e7ba0

File tree

273 files changed

+7437
-1085
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

273 files changed

+7437
-1085
lines changed

.gitignore

Lines changed: 41 additions & 123 deletions
Original file line numberDiff line numberDiff line change
@@ -1,128 +1,46 @@
1-
### Intellij template
2-
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider
3-
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
4-
5-
# User-specific stuff
6-
.idea/**/workspace.xml
7-
.idea/**/tasks.xml
8-
.idea/**/usage.statistics.xml
9-
.idea/**/dictionaries
10-
.idea/**/shelf
11-
12-
# AWS User-specific
13-
.idea/**/aws.xml
14-
15-
# Generated files
16-
.idea/**/contentModel.xml
17-
18-
# Sensitive or high-churn files
19-
.idea/**/dataSources/
20-
.idea/**/dataSources.ids
21-
.idea/**/dataSources.local.xml
22-
.idea/**/sqlDataSources.xml
23-
.idea/**/dynamic.xml
24-
.idea/**/uiDesigner.xml
25-
.idea/**/dbnavigator.xml
26-
27-
# Gradle
28-
.idea/**/gradle.xml
29-
.idea/**/libraries
30-
31-
# Gradle and Maven with auto-import
32-
# When using Gradle or Maven with auto-import, you should exclude module files,
33-
# since they will be recreated, and may cause churn. Uncomment if using
34-
# auto-import.
35-
.idea/artifacts
36-
.idea/compiler.xml
37-
.idea/jarRepositories.xml
38-
.idea/modules.xml
39-
.idea/*.iml
40-
.idea/modules
41-
*.iml
42-
*.ipr
43-
44-
# CMake
45-
cmake-build-*/
46-
47-
# Mongo Explorer plugin
48-
.idea/**/mongoSettings.xml
49-
50-
# File-based project format
1+
.gradle
2+
build/
3+
!gradle/wrapper/gradle-wrapper.jar
4+
!**/src/main/**/build/
5+
!**/src/test/**/build/
6+
7+
### IntelliJ IDEA ###
8+
.idea/modules.xml
9+
.idea/jarRepositories.xml
10+
.idea/compiler.xml
11+
.idea/libraries/
12+
.idea/
5113
*.iws
52-
53-
# IntelliJ
14+
*.iml
15+
*.ipr
5416
out/
17+
!**/src/main/**/out/
18+
!**/src/test/**/out/
5519

56-
# mpeltonen/sbt-idea plugin
57-
.idea_modules/
58-
59-
# JIRA plugin
60-
atlassian-ide-plugin.xml
61-
62-
# Cursive Clojure plugin
63-
.idea/replstate.xml
64-
65-
# SonarLint plugin
66-
.idea/sonarlint/
67-
68-
# Crashlytics plugin (for Android Studio and IntelliJ)
69-
com_crashlytics_export_strings.xml
70-
crashlytics.properties
71-
crashlytics-build.properties
72-
fabric.properties
73-
74-
# Editor-based Rest Client
75-
.idea/httpRequests
20+
### Kotlin ###
21+
.kotlin
7622

77-
# Android studio 3.1+ serialized cache file
78-
.idea/caches/build_file_checksums.ser
79-
80-
### Java template
81-
# Compiled class file
82-
*.class
83-
84-
# Log file
85-
*.log
86-
87-
# BlueJ files
88-
*.ctxt
89-
90-
# Mobile Tools for Java (J2ME)
91-
.mtj.tmp/
92-
93-
# Package Files #
94-
*.jar
95-
*.war
96-
*.nar
97-
*.ear
98-
*.zip
99-
*.tar.gz
100-
*.rar
101-
102-
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
103-
hs_err_pid*
104-
replay_pid*
105-
106-
### Gradle template
107-
.gradle
108-
**/build/
109-
!src/**/build/
110-
111-
# Ignore Gradle GUI config
112-
gradle-app.setting
113-
114-
# Avoid ignoring Gradle wrapper jar file (.jar files are usually ignored)
115-
!gradle-wrapper.jar
116-
117-
# Avoid ignore Gradle wrappper properties
118-
!gradle-wrapper.properties
119-
120-
# Cache of project
121-
.gradletasknamecache
122-
123-
# Eclipse Gradle plugin generated files
124-
# Eclipse Core
125-
.project
126-
# JDT-specific (Eclipse Java Development Tools)
23+
### Eclipse ###
24+
.apt_generated
12725
.classpath
128-
26+
.factorypath
27+
.project
28+
.settings
29+
.springBeans
30+
.sts4-cache
31+
bin/
32+
!**/src/main/**/bin/
33+
!**/src/test/**/bin/
34+
35+
### NetBeans ###
36+
/nbproject/private/
37+
/nbbuild/
38+
/dist/
39+
/nbdist/
40+
/.nb-gradle/
41+
42+
### VS Code ###
43+
.vscode/
44+
45+
### Mac OS ###
46+
.DS_Store

.gitlab-ci.yml

Lines changed: 0 additions & 44 deletions
This file was deleted.

CHANGELOG

Lines changed: 0 additions & 1 deletion
This file was deleted.

README.md

Lines changed: 1 addition & 109 deletions
Original file line numberDiff line numberDiff line change
@@ -1,109 +1 @@
1-
2-
3-
4-
5-
# Surf Essentials
6-
7-
8-
Makes the server commands better and more personalized.
9-
10-
## Table of contents
11-
12-
13-
1. [Commands](#user-content-commands)
14-
2. [Authors](#user-content-authors)
15-
3. [Permission](#user-content-permission)
16-
17-
## Commands
18-
19-
- `/actionbarbroadcast` _Broadcasts a message to the action bar_
20-
- `/alert` _Sends a message to all online players_
21-
- `/anvil` _Opens the anvil gui_
22-
- `/back` _Teleports you back to your last known location_
23-
- `/book` _Edit sealed books_
24-
- `/bossbar` _Recreated Minecraft command_
25-
- `/broadcastworld` _Broadcast a message to all players in a certain world_
26-
- `/cartographytable` _Opens the cartography table gui_
27-
- `/chatclear` _Clears the chat_
28-
- `/clear` _Recreated Minecraft command_
29-
- `/clearitem` _Clears a certain item from the inventories_
30-
- `/defaultgamemode` _Recreated Minecraft command_
31-
- `/deop` _Recreated Minecraft command_
32-
- `/difficulty` _Recreated Minecraft command_
33-
- `/effect` _Recreated Minecraft command_
34-
- `/enchant` _Recreated Minecraft command_
35-
- `/experience` _Recreated Minecraft command_
36-
- `/feed` _Feed a player_
37-
- `/fly` _Toggle fly mode_
38-
- `/forceload` _Recreated Minecraft command_
39-
- `/gamemode` _Recreated Minecraft command_
40-
- `/gamerule` _Recreated Minecraft command_
41-
- `/getpos` _Get the position of a player_
42-
- `/give` _Recreated Minecraft command_
43-
- `/god` _Toggle god mode_
44-
- `/grindstone` _Opens the grindstone gui_
45-
- `/hat` _Puts the item in the main hand on the player head_
46-
- `/heal` _Heals a player_
47-
- `/help` _Help menu_
48-
- `/hurt` _Hurt a player_
49-
- `/infinity` _Never run out of an item_
50-
- `/information` _Get some information about the player_
51-
- `/kill` _Recreated Minecraft command_
52-
- `/lighting` _Summon a lighting strike_
53-
- `/list` _Recreated Minecraft command_
54-
- `/loom` _Opens the loom gui_
55-
- `/lore` _Change the lore of the item in your main hand (\n = new line)_
56-
- `/more` _Fills the item stack in your main hand to maximum size_
57-
- `/op` _Recreated Minecraft command_
58-
- `/particle` _Recreated Minecraft command_
59-
- `/poll` _Make a poll_
60-
- `/position` _Get the position of a player_
61-
- `/rename` _Change the displayname of an item in your main hand_
62-
- `/repair` _Repairs the tool in your main hand_
63-
- `/rule` _Get a link of the rules or send it to other players_
64-
- `/seed` _Recreated Minecraft command_
65-
- `/setworldspawn` _Recreated Minecraft command_
66-
- `/smithingtable` _Opens the smithing table gui_
67-
- `/spawner` _Modify a spawner_
68-
- `/spectate` _Recreated Minecraft command_
69-
- `/speed` _Change the walk/fly speed of a player_
70-
- `/stonecutter` _Opens the stone-cutter gui_
71-
- `/suicide` _Commit suicide_
72-
- `/summon` _Recreated Minecraft command_
73-
- `/teleport` _Recreated Minecraft command_
74-
- `/time` _Recreated Minecraft command_
75-
- `/timer` _Create a timer_
76-
- `/titlebroadcast` _Broadcast a title to players_
77-
- `/togglesign` _Toggles whether the player can right-click a sign or not (At the moment this value isn´t saved and will be reset everytime the plugin restarts)_
78-
- `/tpoff` _Teleports you to the offline location from a player or the player to a location_
79-
- `/tpr` _Teleports you to a random safe location_
80-
- `/tptop` _Teleports you to the highest block at your position_
81-
- `/unhat` _Puts the item on your head back in your inventory_
82-
- `/vote` _Let players vote for a poll_
83-
- `/weather` _Recreated weather command_
84-
- `/workbench` _Opens the crafting table gui_
85-
- `/world` _Create or join a world_
86-
87-
<details>
88-
<summary>Trolls</summary>
89-
<br>
90-
91-
- `/troll <anvil> <target> [<duration>]` _Summons damaged Anvil above the target for the given duration_
92-
- `/troll <bell> <target> [<duration>]` _Annoys the player with bell sounds for the given duration_
93-
- `/troll <boom> <target>` _Creates a visual explosion and lets the target fly into the sky_
94-
- `/troll <cage> <target> [<duration>]` _Creates a glass prison around the target and disables block breaking for the given duration_
95-
- `/troll <demo> <target>` _Shows the target the demo-message_
96-
- `/troll <herobrine> <target>` _Scares the target with Herobrine (disappears after reconnecting)_
97-
- `/troll <illusioner> <target> [<amount>]` _Summon an illusioner at the target position and add a blindness effect to the target_
98-
- `/troll <mlg> <target> <type>` _Forces the target to make the specified mlg_
99-
- `/troll <villager> <target> [<duration>]` _Annoys the player with villager sounds for the given duration_
100-
- `/troll <water> <target> [<duration>]` _Makes the target think that he suffers from water phobia for the given duration_
101-
102-
</details>
103-
104-
## Permission
105-
_I didn't feel like typing them in. Look in the `dev/slne/surf/essentials/main/utils/Permissions` directory._
106-
107-
## Authors
108-
109-
- [@twisti](https://git.slne.dev/twisti)
1+
# Surf Essentials v2

0 commit comments

Comments
 (0)