Skip to content

Commit f6d8d9b

Browse files
ItsNeil17okunamayanadLaophyOmeWillem
authored
feat!: implement new UI (#32)
* feat: 📝 Text Based Scripting documentation Fixes: #10 * chore: add git-info.json to gitignore Signed-off-by: ItsNeil17 <neil@willofsteel.me> * chore: move text-based to 'WWKSF' category Signed-off-by: ItsNeil17 <neil@willofsteel.me> * feat: add ways to develop category Signed-off-by: ItsNeil17 <neil@willofsteel.me> * feat: add icons Signed-off-by: ItsNeil17 <neil@willofsteel.me> * feat: replace unicode icons with text Signed-off-by: ItsNeil17 <neil@willofsteel.me> * feat: add CODEOWNERS file * chore: move CODEOWNERS to .github Signed-off-by: ItsNeil17 <neil@willofsteel.me> * feat: update CODEOWNERS Signed-off-by: ItsNeil17 <neil@willofsteel.me> * feat: add new UI Co-authored-by: @okunamayanad <baran@okunamayanad.com> Signed-off-by: ItsNeil17 <neil@willofsteel.me> * refactor: refactor AI written code to use css vars * refactor: use prettier to format the code also added tailwindcss plugin to prettier * fix: put the 'WIP DOCS' banner in the center Signed-off-by: ItsNeil17 <neil@willofsteel.me> * feat: make separator as long as the title Signed-off-by: ItsNeil17 <neil@willofsteel.me> * feat: add capsule block quote pill Signed-off-by: ItsNeil17 <neil@willofsteel.me> * feat: add styles for anchor links Signed-off-by: ItsNeil17 <neil@willofsteel.me> * feat: add hover animation Signed-off-by: ItsNeil17 <neil@willofsteel.me> * fix: theme selector Signed-off-by: ItsNeil17 <neil@willofsteel.me> * feat: 📝 Text Based Scripting documentation Fixes: #10 * chore: move text-based to 'WWKSF' category Signed-off-by: ItsNeil17 <neil@willofsteel.me> * feat: add ways to develop category Signed-off-by: ItsNeil17 <neil@willofsteel.me> * feat: add icons Signed-off-by: ItsNeil17 <neil@willofsteel.me> * feat: replace unicode icons with text Signed-off-by: ItsNeil17 <neil@willofsteel.me> * feat: add CODEOWNERS file * chore: move CODEOWNERS to .github Signed-off-by: ItsNeil17 <neil@willofsteel.me> * feat: add inputs page Closes #6 Signed-off-by: ItsNeil17 <neil@willofsteel.me> * feat: add ui customization page fixes #16 Signed-off-by: ItsNeil17 <neil@willofsteel.me> * refactor: rename text-based.mdx to plugin.mdx Signed-off-by: ItsNeil17 <neil@willofsteel.me> * feat: add visual scripting page Signed-off-by: ItsNeil17 <neil@willofsteel.me> * feat: add data assets page Signed-off-by: ItsNeil17 <neil@willofsteel.me> * feat: add modelling / texture art page Signed-off-by: ItsNeil17 <neil@willofsteel.me> * feat: add 'Documentation in Progress' banner at the top of the website Signed-off-by: ItsNeil17 <neil@willofsteel.me> * feat: add base fumadocs components Signed-off-by: ItsNeil17 <neil@willofsteel.me> * chore: cleanup readme boilerplate * chore : convert npm to bun in readme docs * chore: implement github community standards for open source * chore: ensure bun audit is ran before merging (pr template) * chore: add contact email * chore: remove discord comment * docs: add new Q&A documentation gathered from discord * chore: fix README to include forks instead of cloning main repo * feat: remove fumadocs components in favor of feat/ui Signed-off-by: ItsNeil17 <neil@willofsteel.me> * chore: add Laophy as CODEOWNER * chore: remove ai garbage * chore: change mana to hunger * feat: updated structure I think this is pretty neat! * fix: removed icon from seperator * fix: change up style of Q&A Summary Signed-off-by: ItsNeil17 <neil@willofsteel.me> * fix: move developer qa insights to root Signed-off-by: ItsNeil17 <neil@willofsteel.me> * chore: fix merge conflicts Signed-off-by: ItsNeil17 <neil@willofsteel.me> * fix: merge conflicts Signed-off-by: ItsNeil17 <neil@willofsteel.me> --------- Signed-off-by: ItsNeil17 <neil@willofsteel.me> Co-authored-by: Baran Mordoğan <baran@okunamayanad.com> Co-authored-by: Laophy <jpessman22@gmail.com> Co-authored-by: Willem <94999824+OmeWillem@users.noreply.github.com>
1 parent 06a305d commit f6d8d9b

34 files changed

Lines changed: 1582 additions & 269 deletions

.github/CODEOWNERS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
* @ItsNeil17
22

33
/content/docs/what-we-know-so-far/ways-to-develop/text-based.mdx @okunamayanad
4-
/content/docs/what-we-know-so-far/developer-qa-insights.mdx @Laophy
4+
/content/docs/what-we-know-so-far/developer-qa-insights.mdx @Laophy

.github/workflows/deploy.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: Deploy to GitHub Pages
22
on:
33
push:
4-
branches:
4+
branches:
55
- main
66
- documentation
77
workflow_dispatch:
@@ -27,10 +27,10 @@ jobs:
2727
source ~/.bashrc 2>/dev/null || true
2828
cd /opt/website/
2929
git pull origin ${{ github.ref_name }}
30-
30+
3131
BRANCH_NAME=$(git rev-parse --abbrev-ref HEAD)
3232
COMMIT_HASH=$(git rev-parse --short HEAD)
3333
echo "{\"branch\":\"$BRANCH_NAME\",\"commit\":\"$COMMIT_HASH\"}" > public/git-info.json
34-
34+
3535
bun run build
36-
pm2 restart website
36+
pm2 restart website

.prettierrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"plugins": ["prettier-plugin-tailwindcss"]
3+
}

bun.lock

Lines changed: 111 additions & 78 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

components.json

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{
2+
"$schema": "https://ui.shadcn.com/schema.json",
3+
"style": "new-york",
4+
"rsc": true,
5+
"tsx": true,
6+
"tailwind": {
7+
"config": "",
8+
"css": "src/app/global.css",
9+
"baseColor": "neutral",
10+
"cssVariables": true,
11+
"prefix": ""
12+
},
13+
"iconLibrary": "lucide",
14+
"aliases": {
15+
"components": "@/components",
16+
"utils": "@/lib/utils",
17+
"ui": "@/components/ui",
18+
"lib": "@/lib",
19+
"hooks": "@/hooks"
20+
},
21+
"registries": {}
22+
}

content/docs/established-information/faq.mdx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,16 +25,18 @@ Essentially, a solid choice for game development that blends speed and reliabili
2525
## 3. What are Transport Packets?
2626

2727
Hytale will support transfer packets which can send players to other servers with a small payload for tokens/encrypted data.
28+
2829
- Equivalent of BungeeCord in Minecraft
2930
- Mainly for large server networks
3031

3132
There is no middleman, you connect directly to Server A. When you want to switch, Server A says “Here is a 4kb ticket w/inventory and stats. Go to server B”
3233
Leads to massive cost reduction which can be spent on devs instead of servers
3334

3435
## 4. Will Hytale support dedicated servers?
36+
3537
Yes, Hytale will support dedicated servers. This allows server owners to host their own Hytale servers on their own hardware or through third-party hosting services.
3638

3739
Dedicated servers provide more control over server settings, mods, and performance compared to using official hosting solutions.
3840

3941
## 5. Will Hytale support modding on consoles?
40-
As of now, Hytale modding is primarily focused on PC platforms.
42+
As of now, Hytale modding is primarily focused on PC platforms.

content/docs/established-information/server/server-first-dev.mdx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ Hytale is being developed with a "server-first" approach. This means that the se
1010
In a server-first architecture, the server is responsible for managing the game world, enforcing rules, and processing player actions. The client connects to the server to receive updates about the game state and to send player inputs. This approach helps ensure consistency and fairness in multiplayer environments, as the server has control over the game logic.
1111

1212
## Benefits of Server-First Development
13+
1314
- **Consistency**: Since the server is the authoritative source, all players experience the same game state, reducing discrepancies and cheating.
1415
- **Scalability**: Server-first architectures can be more easily scaled to accommodate large numbers
1516
of players, as the server can manage resources and distribute load effectively.
@@ -18,9 +19,11 @@ In a server-first architecture, the server is responsible for managing the game
1819
- **Only One Version**: There won't be a version selector for the Hytale Client, meaning that server owners do not need to support multiple versions and can rely on everyone being on the latest client. This will help both server owners and modders.
1920

2021
## Implications for Modding
22+
2123
Modders will primarily interact with the server-side components of Hytale. This means that mods will often focus on altering game logic, rules, and behaviors that are managed by the server. Client-side modifications are not allowed (as of the information given right now).
2224

2325
Overall, the server-first approach in Hytale aims to create a robust and fair multiplayer experience while providing modders with powerful tools to customize and enhance the game.
2426

2527
## Conclusion
26-
The server-first development model is a key aspect of Hytale's architecture, ensuring a consistent and secure multiplayer experience. Modders should focus on server-side modifications to fully leverage the capabilities of this approach and create engaging content for players.
28+
29+
The server-first development model is a key aspect of Hytale's architecture, ensuring a consistent and secure multiplayer experience. Modders should focus on server-side modifications to fully leverage the capabilities of this approach and create engaging content for players.

content/docs/index.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ Hytale is a voxel-based sandbox RPG game by **Hypixel Studios**, as described on
1111
1212
Hytale has been built from the ground up with modding and user-generated content in mind.
1313
The goal of **Hytale Modding** is to provide an excellent resource such that anybody
14-
is able to mod Hytale for themselves, regardless of skill level or specialization.
14+
is able to mod Hytale for themselves, regardless of skill level or specialization.
1515

1616
It is important to note that modding Hytale is not restricted to programming plugins.
1717
Programming, visual scripting, texturing, 3D modelling, modifying assets, etc. are all modding.
18-
<u>In Hytale, anyone can be a modder.</u>
1918

19+
<u>In Hytale, anyone can be a modder.</u>

content/docs/quick-start.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ title: Quick Start
33
description: Setting up a standard Hytale project.
44
---
55

6-
Lorem Ipsum
6+
Lorem Ipsum

eslint.config.mjs

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
import { dirname } from 'path';
2-
import { fileURLToPath } from 'url';
3-
import { FlatCompat } from '@eslint/eslintrc';
1+
import { dirname } from "path";
2+
import { fileURLToPath } from "url";
3+
import { FlatCompat } from "@eslint/eslintrc";
44

55
const __filename = fileURLToPath(import.meta.url);
66
const __dirname = dirname(__filename);
@@ -10,17 +10,17 @@ const compat = new FlatCompat({
1010
});
1111

1212
const eslintConfig = [
13-
...compat.extends('next/core-web-vitals', 'next/typescript'),
13+
...compat.extends("next/core-web-vitals", "next/typescript"),
1414
{
1515
ignores: [
16-
'node_modules/**',
17-
'.next/**',
18-
'out/**',
19-
'build/**',
20-
'.source/**',
21-
'next-env.d.ts',
16+
"node_modules/**",
17+
".next/**",
18+
"out/**",
19+
"build/**",
20+
".source/**",
21+
"next-env.d.ts",
2222
],
2323
},
2424
];
2525

26-
export default eslintConfig;
26+
export default eslintConfig;

0 commit comments

Comments
 (0)