existing, boolean replace) {
+ if (existing == null) {
+ existing = new HashMap<>();
+ }
+
+ if (!existing.containsKey("uuid") || replace) {
+ existing.put("uuid", value.getUUID().toString());
+ }
+
+ if (!existing.containsKey("kills") || replace) {
+ existing.put("kills", value.getKills());
+ }
+
+ return existing;
+ }
+}
+```
+
+How it would look like used in a config:
+
+```java title="PluginSettings.java"
+public class PluginSettings {
+
+ @ConfigEntry("owner-data")
+ public static PlayerData OWNER_DATA = new PlayerData(UUID.randomUUID(), 20);
+
+}
+```
+
+How to register the adapter:
+
+```java
+private void registerAdapter() {
+ PineappleLib.getConfigurationManager().registerTypeAdapter(PlayerData.class, new PlayerDataAdapter());
+}
+```
diff --git a/src/components/HomepageFeatures/index.js b/src/components/HomepageFeatures/index.js
index acc7621..2e2d075 100644
--- a/src/components/HomepageFeatures/index.js
+++ b/src/components/HomepageFeatures/index.js
@@ -3,7 +3,7 @@ import Heading from '@theme/Heading';
import styles from './styles.module.css';
const FeatureList = [
- {
+ /*{
title: 'Easy to Use',
Svg: require('@site/static/img/undraw_docusaurus_mountain.svg').default,
description: (
@@ -32,7 +32,7 @@ const FeatureList = [
be extended while reusing the same header and footer.
>
),
- },
+ },*/
];
function Feature({Svg, title, description}) {
diff --git a/src/css/custom.css b/src/css/custom.css
index 54c9482..cc7da16 100644
--- a/src/css/custom.css
+++ b/src/css/custom.css
@@ -6,26 +6,26 @@
/* You can override the default Infima variables here. */
:root {
- --ifm-color-primary: #2e8555;
- --ifm-color-primary-dark: #29784c;
- --ifm-color-primary-darker: #277148;
- --ifm-color-primary-darkest: #205d3b;
- --ifm-color-primary-light: #33925d;
- --ifm-color-primary-lighter: #359962;
- --ifm-color-primary-lightest: #3cad6e;
+ --ifm-color-primary: #c88a1d;
+ --ifm-color-primary-dark: #9bcf1b;
+ --ifm-color-primary-darker: #84b017;
+ --ifm-color-primary-darkest: #3d7a51;
+ --ifm-color-primary-light: #9bcf1b;
+ --ifm-color-primary-lighter: #afeb17;
+ --ifm-color-primary-lightest: #b4f316;
--ifm-code-font-size: 95%;
--docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.1);
}
/* For readability concerns, you should choose a lighter palette in dark mode. */
[data-theme='dark'] {
- --ifm-color-primary: #25c2a0;
- --ifm-color-primary-dark: #21af90;
- --ifm-color-primary-darker: #1fa588;
- --ifm-color-primary-darkest: #1a8870;
- --ifm-color-primary-light: #29d5b0;
- --ifm-color-primary-lighter: #32d8b4;
- --ifm-color-primary-lightest: #4fddbf;
+ --ifm-color-primary: #cdc560;
+ --ifm-color-primary-dark: #3d7a51;
+ --ifm-color-primary-darker: #356b47;
+ --ifm-color-primary-darkest: #2a5a3a;
+ --ifm-color-primary-light: #81a08c;
+ --ifm-color-primary-lighter: #b1d1bc;
+ --ifm-color-primary-lightest: #e5ffee;
--docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.3);
}
diff --git a/src/pages/index.js b/src/pages/index.js
index 13089a6..b316cbc 100644
--- a/src/pages/index.js
+++ b/src/pages/index.js
@@ -19,8 +19,8 @@ function HomepageHeader() {
- Docusaurus Tutorial - 5min ⏱️
+ to="/pineapple-lib">
+ Getting Started With PineappleLib - 2min ⏱️
diff --git a/src/pages/index.module.css b/src/pages/index.module.css
index 9f71a5d..33d5817 100644
--- a/src/pages/index.module.css
+++ b/src/pages/index.module.css
@@ -2,7 +2,6 @@
* CSS files with the .module.css suffix will be treated as CSS modules
* and scoped locally.
*/
-
.heroBanner {
padding: 4rem 0;
text-align: center;
diff --git a/static/img/docusaurus.png b/static/img/docusaurus.png
deleted file mode 100644
index f458149..0000000
Binary files a/static/img/docusaurus.png and /dev/null differ
diff --git a/static/img/favicon.ico b/static/img/favicon.ico
deleted file mode 100644
index c01d54b..0000000
Binary files a/static/img/favicon.ico and /dev/null differ
diff --git a/static/img/logo.svg b/static/img/logo.svg
index 9db6d0d..357c115 100644
--- a/static/img/logo.svg
+++ b/static/img/logo.svg
@@ -1 +1,87 @@
-
\ No newline at end of file
+
+
diff --git a/static/img/pineappledev.png b/static/img/pineappledev.png
new file mode 100644
index 0000000..533c433
Binary files /dev/null and b/static/img/pineappledev.png differ
diff --git a/static/img/pineapplefavicon.ico b/static/img/pineapplefavicon.ico
new file mode 100644
index 0000000..f86ef01
Binary files /dev/null and b/static/img/pineapplefavicon.ico differ