Skip to content
This repository was archived by the owner on Mar 9, 2026. It is now read-only.

Commit 4897b0e

Browse files
committed
[PP-1]: Switch TLD to .com instead of .net
1 parent 5faef12 commit 4897b0e

51 files changed

Lines changed: 135 additions & 9004 deletions

Some content is hidden

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

.gitignore

Lines changed: 73 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,80 @@
1-
# Compiled class file
2-
*.class
1+
# Gradle
2+
.gradle/
3+
build/
4+
!gradle/wrapper/gradle-wrapper.jar
5+
!**/src/main/**/build/
6+
!**/src/test/**/build/
37

4-
# Log file
8+
# IntelliJ IDEA
9+
.idea/
10+
*.iws
11+
*.iml
12+
*.ipr
13+
out/
14+
!**/src/main/**/out/
15+
!**/src/test/**/out/
16+
17+
# Eclipse
18+
.apt_generated
19+
.classpath
20+
.factorypath
21+
.project
22+
.settings
23+
.springBeans
24+
.sts4-cache
25+
bin/
26+
!**/src/main/**/bin/
27+
!**/src/test/**/bin/
28+
29+
# NetBeans
30+
/nbproject/private/
31+
/nbbuild/
32+
/dist/
33+
/nbdist/
34+
/.nb-gradle/
35+
36+
# VS Code
37+
.vscode/
38+
39+
# Mac
40+
.DS_Store
41+
42+
# Windows
43+
Thumbs.db
44+
ehthumbs.db
45+
Desktop.ini
46+
47+
# Logs
548
*.log
649

7-
.idea/*
50+
# Runtime data
51+
pids
52+
*.pid
53+
*.seed
54+
*.pid.lock
55+
56+
# Coverage directory used by tools like istanbul
57+
coverage/
58+
59+
# Dependency directories
60+
node_modules/
61+
62+
# Optional npm cache directory
63+
.npm
64+
65+
# Optional REPL history
66+
.node_repl_history
67+
68+
# Output of 'npm pack'
69+
*.tgz
870

9-
# BlueJ files
10-
*.ctxt
71+
# Yarn Integrity file
72+
.yarn-integrity
1173

12-
# Mobile Tools for Java (J2ME)
13-
.mtj.tmp/
74+
# dotenv environment variables file
75+
.env
1476

15-
# Package Files #
77+
# Plugin specific
78+
plugins/PlexPurchases/
1679
*.jar
17-
*.war
18-
*.nar
19-
*.ear
20-
*.zip
21-
*.tar.gz
22-
*.rar
23-
24-
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
25-
hs_err_pid*
26-
replay_pid*
80+
!gradle/wrapper/gradle-wrapper.jar
File renamed without changes.

README.md

Lines changed: 9 additions & 61 deletions
Original file line numberDiff line numberDiff line change
@@ -1,65 +1,13 @@
1-
![PlexPurchases Header](https://i.imgur.com/ZBSXcgt.png)
1+
![ServerPersistence Header](https://i.imgur.com/5zPJx7X.png)
22

3-
PlexPurchases is a plugin & website that enhances Mineplex's built in Purchase system. It allows developers to quickly
4-
create products in a web UI, and generate an in-game UI to reflect their configuration.
3+
ServerPersistence is a plugin for infinitely running Mineplex Studio project instances until they are killed by external
4+
factors. This permanently sets the project into `PRE_START` phase (meaning it will last forever, until killed).
55

6-
It also allows for simple, command based action setup, similar to that of Tebex.
6+
It's a very simple plugin, with no configuration.
77

8-
## Adding to your project
8+
## Installation
99

10-
### Step 1: Install
11-
12-
We've designed this to be as simple to use as possible, drag and drop
13-
the plugin using our [latest release](https://github.com/PlexPrison/PlexPurchases/releases) into a folder called
14-
`external-plugins` within your Mineplex project.
15-
16-
### Step 2: Configure
17-
18-
![Web UI](https://i.imgur.com/o17Mb5x.png)
19-
20-
Then, [head to our setup UI](https://plexpurchases-setup.plexprison.net) and set-up your purchases! (follow the
21-
on-screen instructions). You'll then need to unzip the generated zip file **into your project folder** and run the bash script generated (inside of your project folder).
22-
23-
## Player Usage
24-
25-
Players can access the automatically generated user interface using `/store` or `/buy`, this will show them:
26-
27-
- Purchases made:
28-
- Their ongoing subscriptions (if they have any)
29-
- Their previous purchases (if they have any)
30-
- Purchases they're able to make:
31-
- Any subscriptions they have permission to start (permission enabled/disabled in the setup UI)
32-
- Any one time purchases they have permission to buy (permission enabled/disabled in the setup UI)
33-
- Any multiple time purchases they have permission to buy (permission enabled/disabled defined in the setup UI)
34-
35-
## Contributing
36-
37-
We welcome any contributions to improve this project, this is made as a result of a need to have a consistent, easy to
38-
use, and quick to setup experience.
39-
40-
### User Interface (setup UI)
41-
42-
#### Building
43-
44-
#### Running locally
45-
46-
1. Navigate to the `website` directory:
47-
```sh
48-
cd website
49-
```
50-
2. Install dependencies:
51-
```sh
52-
npm install
53-
```
54-
3. Start the development server:
55-
```sh
56-
npm run dev
57-
```
58-
4. Open the provided local URL in your browser (usually http://localhost:5173)
59-
60-
### Spigot Plugin
61-
62-
#### Building
63-
64-
This plugin uses gradle, run
65-
`./plugin/gradlew build`
10+
1. Head to the [latest release](https://github.com/PlexPrison/ServerPersistence/releases) of the plugin
11+
2. Download the Jar file from the latest release
12+
3. Plop `ServerPersistence.jar` into a folder within your Mineplex Project called `external-plugins`
13+
4. Start your server, and profit.

build.gradle.kts

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
import net.minecrell.pluginyml.paper.PaperPluginDescription
2+
3+
plugins {
4+
java
5+
`java-library`
6+
id("com.mineplex.sdk.plugin") version "1.17.0"
7+
id("net.minecrell.plugin-yml.paper") version "0.6.0"
8+
}
9+
10+
group = "com.plexprison.serverpersistence"
11+
version = "1.0.0"
12+
13+
tasks {
14+
build {
15+
dependsOn(named("generatePaperPluginDescription"))
16+
}
17+
}
18+
19+
paper {
20+
name = "ServerPersistence"
21+
version = project.version.toString()
22+
main = "com.plexprison.serverpersistence.ServerPersistence"
23+
apiVersion = "1.20"
24+
25+
serverDependencies {
26+
register("StudioEngine") {
27+
load = PaperPluginDescription.RelativeLoadOrder.BEFORE
28+
}
29+
}
30+
}
File renamed without changes.
File renamed without changes.
File renamed without changes.

plugin/.gitignore

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

plugin/build.gradle

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

0 commit comments

Comments
 (0)