+ `;
+
+ if (sender === "user") {
+ listItem.innerHTML = `
+
+ ${messageContent}
+ `;
+ } else if (sender === "AI") {
+ listItem.innerHTML = `
+ ${messageContent}
+
+ `;
+ }
+
+ messageList.appendChild(listItem);
+ }
+});
diff --git a/ai/styles.css b/ai/styles.css
new file mode 100644
index 0000000..e69de29
diff --git a/clickscript/.nojekyll b/clickscript/.nojekyll
deleted file mode 100644
index 8b13789..0000000
--- a/clickscript/.nojekyll
+++ /dev/null
@@ -1 +0,0 @@
-
diff --git a/clickscript/README.md b/clickscript/README.md
deleted file mode 100644
index 35dcdb8..0000000
--- a/clickscript/README.md
+++ /dev/null
@@ -1,13 +0,0 @@
-![ClickCrystals Logo](img/title.png)
-# Introduction
-*ClickCrystalsScript (or CCS) is a custom scripting language used to create modules, macros, auto farms, hotkey binds, and much more through the mod ClickCrystals.*
-
-Welcome to the Google Docs version of ClickCrystalsâ scripting documentation.
-In this Wiki, weâll cover these aspects of scripting with ClickCrystals:
-- More information
-- Downloading and installing ClickCrystals
-- Locating the .minecraft folder, and the .clickcrystals folder
-- Reloading your scripts or the entire client
-- Writing and running your own scripts
-
-*This documentation is written for versions of ClickCrystals 1.2.2 or above. Please note that there are versions of Minecraft that may be unsupported for this version of ClickCrystals.*
\ No newline at end of file
diff --git a/clickscript/_coverpage.md b/clickscript/_coverpage.md
deleted file mode 100644
index e32e221..0000000
--- a/clickscript/_coverpage.md
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-> Documentation for the CCS Scripting Language
-
-- Easily make your own scripts
-- Code your own kill aura
-- Dominate: Yes
-
-[Get ClickCrystals](https://clickcrystals.xyz/)
-[Get Started](#clickcrystals-wiki)
-
-![color](img/editor.png)
diff --git a/clickscript/_sidebar.md b/clickscript/_sidebar.md
deleted file mode 100644
index 266b54c..0000000
--- a/clickscript/_sidebar.md
+++ /dev/null
@@ -1,35 +0,0 @@
-- [Introduction](/)
- - [More Information](more_info)
- - [Downloading ClickCrystals](downloading_cc)
- - [Opening GUI](opening_gui)
- - [Navigating GUI](navigating_gui)
- - [Navigating Files](navigating_files)
- - [Navigating with VSCode](navigating_vscode)
- - [Opening ClickCrystals Folder](opening_cc_ingame)
- - [Creating Script Files](creating_ccs)
- - [Reloading Scripts](reloading_scripts)
- - [ClickCrystals Script](ccs)
- - [Argument Abbrevation Key](argument)
- - [Script Blocks & Lines](script_blocks)
- - [On Command](commands/on_command)
- - [If Command](commands/if_command)
- - [While Command](commands/while)
- - [Execute Command](commands/execute)
- - [Loop Command](commands/loop)
- - [Send, Say, Throw, Print](commands/say_throw_desc)
- - [Exit Command](commands/exit)
- - [Module Command](commands/module)
- - [Function Command](commands/func)
- - [Define Command](commands/define)
- - [Config Command](commands/config)
- - [Notify Command](commands/notify)
- - [PlaySound Command](commands/playsound)
- - [Input Command](commands/input)
- - [GUI Commands](commands/gui)
- - [Switch Command](commands/switch)
- - [Swap Command](commands/swap)
- - [Turn Commands](commands/snap)
- - [Damage Commands](commands/damage)
- - [Drop Command](commands/drop)
- - [Velocity/TP](commands/vel)
- - [Examples](examples)
\ No newline at end of file
diff --git a/clickscript/argument.md b/clickscript/argument.md
deleted file mode 100644
index 3c6f38c..0000000
--- a/clickscript/argument.md
+++ /dev/null
@@ -1,81 +0,0 @@
-# Argument Abbreviation Key
-
-
-
-
Symbol
-
-
Meaning
-
-
Example
-
-
-
-
**
-
-
Argument format may not be uniform, some may require you to provide another one. A [**] prefix would indicate the argument is only needed for some specific previous arguments.
-
-
**N
-
-
-
-
..
-
-
[..] argument would indicate any CCS script block or line can follow after.
-
-
..
-
-
-
-
N
-
-
[N] argument indicates any decimal number.
-
-
N
-
-
-
-
n
-
-
[n] argument indicates any whole number (integer).
-
-
n
-
-
-
-
+N
-
-
[+N] argument indicates an operator in front of a decimal number, there are NO SPACES between the two.
-
-
+N
-
-
-
-
+n
-
-
[+n] argument indicates an operator in front of the whole number (integer), there are NO SPACES between the two.
-
-
diff --git a/clickscript/ccs.md b/clickscript/ccs.md
deleted file mode 100644
index c68811a..0000000
--- a/clickscript/ccs.md
+++ /dev/null
@@ -1,229 +0,0 @@
-# ClickCrystals Script
-CCS is an interpreted script language, meaning that it determines what each execution does before it runs and does not require compilation. This allows ClickCrystals users to easily reload or run their scripts in game.
-
-All ClickCrystal scripts are run first thing upon game launch. This either includes the creation of new modules or other tasks such as saving the config or printing something into the console. If you want to execute scripts after launch, you can run the command `,ccs compile `. If you want to execute a script file, `,ccs run `.
-
-Now, letâs dive deep into scripting.
-
-
-
If inventory is opened, quickmove the specified item.
-
-
-
-
diff --git a/clickscript/commands/config.md b/clickscript/commands/config.md
deleted file mode 100644
index a083423..0000000
--- a/clickscript/commands/config.md
+++ /dev/null
@@ -1,47 +0,0 @@
-# Command: config
-Manages your current configuration profile.
-
-
-
**Argument**
-
-
-
**Usage**
-
-
-
**Example**
-
-
-
-
-
save
-
-
-
config save
-
-
-
config save
-
-
-
-
-
load
-
-
-
config load
-
-
-
config load
-
-
-
-
-
reload
-
-
-
config reload
-
-
-
config reload
-
-
-
\ No newline at end of file
diff --git a/clickscript/commands/damage.md b/clickscript/commands/damage.md
deleted file mode 100644
index 84ba347..0000000
--- a/clickscript/commands/damage.md
+++ /dev/null
@@ -1,26 +0,0 @@
-# Command: damage
-
-Sends a damage packet to the server
-
-
-
define description âThis is a descriptionâ
-
-
-
-
-
module
-
-
-
define module **module-id
-
-
-
define module new-module
-
-
-
\ No newline at end of file
diff --git a/clickscript/commands/drop.md b/clickscript/commands/drop.md
deleted file mode 100644
index f374c03..0000000
--- a/clickscript/commands/drop.md
+++ /dev/null
@@ -1,26 +0,0 @@
-# Command: drop
-
-Drops the current hand item for N amount, or all for the entire stack.
-
-
-
-
-
Usage
-
-
Example
-
-
-
-
drop **N
-
-
drop 32
-
-
-
-
drop all
-
-
drop all
-
-
-
-
diff --git a/clickscript/commands/execute.md b/clickscript/commands/execute.md
deleted file mode 100644
index 7443d21..0000000
--- a/clickscript/commands/execute.md
+++ /dev/null
@@ -1,38 +0,0 @@
-# Command: execute
-_Executes a script block or line. Most of the time this is used as an execution for script blocks as script lines can be executed individually._
-
-
-
diff --git a/clickscript/commands/exit.md b/clickscript/commands/exit.md
deleted file mode 100644
index bd56301..0000000
--- a/clickscript/commands/exit.md
+++ /dev/null
@@ -1,18 +0,0 @@
-# Command: exit
-Exits the Java JVM with the specified exit code.
-
-
-
-
Usage
-
-
Example
-
-
-
-
exit **n
-
-
exit -1
-
-
-
-
diff --git a/clickscript/commands/func.md b/clickscript/commands/func.md
deleted file mode 100644
index 5d8c071..0000000
--- a/clickscript/commands/func.md
+++ /dev/null
@@ -1,19 +0,0 @@
-# Command: function
-Calls a defined function in the current script file.
-
-
-
-
Usage
-
-
Example
-
-
-
-
function **name
-
-
function anyDeclaredFunctionName
-
-
-
-
-To define or declare a function, see the define command.
diff --git a/clickscript/commands/gui.md b/clickscript/commands/gui.md
deleted file mode 100644
index c25b739..0000000
--- a/clickscript/commands/gui.md
+++ /dev/null
@@ -1,65 +0,0 @@
-# Command: gui_switch, gui_swap, gui_quickmove
-Manages inventory
-
-
-
-
Command
-
-
Usage
-
-
Example
-
-
-
-
gui_switch
-
-
gui_switch **ID
-
-
gui_switch :totem_of_undying
-
-
-
-
gui_swap
-
-
gui_swap**ID
-
-
gui_swap :totem_of_undying
-
-
-
-
gui_quickmove
-
-
gui_quickmove **ID
-
-
gui_quickmove :totem_of_undying
-
-
-
-
-## Command: gui_drop
-Drops a certain item type with N amount, or âalâl for the entire stack.
-
-
-
**Usage**
-
-
-
**Example**
-
-
-
-
-
gui_drop **ID **N
-
-
-
gui_drop :dirt 45
-
-
-
-
-
gui_drop **ID all
-
-
-
gui_drop :dirt all
-
-
-
\ No newline at end of file
diff --git a/clickscript/commands/if_command.md b/clickscript/commands/if_command.md
deleted file mode 100644
index 9eed365..0000000
--- a/clickscript/commands/if_command.md
+++ /dev/null
@@ -1,391 +0,0 @@
-# Command: if, if_not, !if
-_Evaluates an if statement._
-
-## All Conditions & Examples
-
-
-
-
-
Name
-
-
Usage
-
-
Example
-
-
-
-
holding
-
-
if holding **ID ..
-
-
if holding :diamond { send "Hello World!"; }
-
-
-
-
off_holding
-
-
if off_holding **ID ..
-
-
if off_holding :diamond { send "Hello World!"; }
-
-
-
-
inventory_has
-
-
if inventory_has **ID ..
-
-
if inventory_has :diamond { send "Hello World!"; }
-
-
-
-
hotbar_has
-
-
if hotbar_has **ID ..
-
-
if hotbar_has :diamond { send "Hello World!"; }
-
-
-
-
target_block
-
-
if target_block **ID ..
-
-
if target_block :diamond_block { send "Hello World!"; }
-
-
-
-
target_entity
-
-
if target_entity **ID ..
-
-
if target_entity :creeper { send "Hello World!"; }
-
-
-
-
targeting_entity
-
-
if targeting_entity ..
-
-
if targeting_entity { send "Hello World!"; }
-
-
-
-
targeting_block
-
-
if targeting_block ..
-
-
if targeting_block { send "Hello World!"; }
-
-
-
-
input_active
-
-
if input_active **input ..
-
-
if input_active attack { send "Hello World!"; }
-
-
-
-
block_in_range
-
-
if block_in_range **ID **N ..
-
-
if block_in_range #diamond_ore 16.0 { send "Hello World!"; }
-
-
-
-
entity_in_range
-
-
if entity_in_range **ID **N ..
-
-
if entity_in_range :zombie 16.0 { send "Hello World!"; }
-
-
-
-
attack_progress
-
-
if attack_progress **+N ..
-
-
if attack_progress >=0.9 { send "Hello World!"; }
-
-
-
-
health
-
-
if health **+N ..
-
-
if health >=20.0 { send "Hello World!"; }
-
-
-
-
armor
-
-
if armor **+N ..
-
-
if armor >=20.0 { send "Hello World!"; }
-
-
-
-
pos_x
-
-
if pos_x **+N ..
-
-
if pos_x >=20.0 { send "Hello World!"; }
-
-
-
-
pos_y
-
-
if pos_y **+N ..
-
-
if pos_y >=20.0 { send "Hello World!"; }
-
-
-
-
pos_z
-
-
if pos_z **+N ..
-
-
if pos_z >=20.0 { send "Hello World!"; }
-
-
-
-
module_enabled
-
-
if module_enabled **a-module-id ..
-
-
if module_enabled armor-hud { send "Hello World!"; }
-
-
-
-
module_disabled
-
-
if module_disabled **a-module-id ..
-
-
if module_disabled armor-hud { send "Hello World!"; }
-
\ No newline at end of file
diff --git a/clickscript/commands/notify.md b/clickscript/commands/notify.md
deleted file mode 100644
index 9988c5c..0000000
--- a/clickscript/commands/notify.md
+++ /dev/null
@@ -1,17 +0,0 @@
-# Command: notify
-Sends a notification to the client
-
-
-
Usage
-
-
Example
-
-
-
-
notify **N ââ
-
-
notify 3 âHello Worldâ
-
-
-
-
diff --git a/clickscript/commands/on_command.md b/clickscript/commands/on_command.md
deleted file mode 100644
index 472f0ba..0000000
--- a/clickscript/commands/on_command.md
+++ /dev/null
@@ -1,287 +0,0 @@
-# Command: on
-_Registers an event listener._
-
-## All Events & Emissions
-
-
-
Name
-
-
Usage
-
-
Example
-
-
Emission
-
-
-
-
right_click
-
-
on right_click ..
-
-
on right_click { send "Hello world!"; }
-
-
pre
-
-
-
-
left_click
-
-
on left_click ..
-
-
on left_click { send "Hello World!"; }
-
-
pre
-
-
-
-
middle_click
-
-
on middle_click ..
-
-
on middle_click { send "Hello World!"; }
-
-
pre
-
-
-
-
right_release
-
-
on right_release ..
-
-
on right_release { send "Hello world!"; }
-
-
pre
-
-
-
-
left_release
-
-
on left_release ..
-
-
on left_release { send "Hello World!"; }
-
-
pre
-
-
-
-
middle_release
-
-
on middle_release ..
-
-
on middle_release { send "Hello World!"; }
-
-
pre
-
-
-
-
place_block
-
-
on place_block ..
-
-
on place_block { if holding :dirt { send "Hello World!"; } }
-
-
pre
-
-
-
-
break_block
-
-
on break_block ..
-
-
on break_block { if target_block :dirt { send "Hello World!"; } }
-
-
post
-
-
-
-
punch_block
-
-
on punch_block ..
-
-
on punch_block { if target_block :dirt { send "Hello World!"; } }
-
-
pre
-
-
-
-
interact_block
-
-
on interact_block ..
-
-
on interact_block { if target_block :dirt { send "Hello World!"; } }
-
-
pre
-
-
-
-
tick
-
-
on tick ..
-
-
on tick { send "Hello World!"; }
-
-
post
-
-
-
-
item_use
-
-
on item_use ..
-
-
on item_use { send "Hello World!"; }
-
-
pre
-
-
-
-
item_consume
-
-
on item_consume
-
-
on item_consume { send "Hello World!"; }
-
-
pre
-
-
-
-
totem_pop
-
-
on totem_pop ..
-
-
on totem_pop { send "Hello World!"; }
-
-
post
-
-
-
-
module_enable
-
-
on module_enable ..
-
-
on module_enable { send "Hello World!"; }
-
-
post
-
-
-
-
module_disable
-
-
on module_disable ..
-
-
on module_disable { send "Hello World!"; }
-
-
post
-
-
-
-
move_pos
-
-
on move_pos ..
-
-
on move_pos { send "Hello World!"; }
-
-
pre
-
-
-
-
move_look
-
-
on move_look ..
-
-
on move_look { send "Hello World!"; }
-
-
pre
-
-
-
-
key_press
-
-
on key_press **key ..
-
-
on key_press e { send "Hello World!"; }
-
-
pre
-
-
-
-
key_release
-
-
on key_release **key ..
-
-
on key_release e { send "Hello World!"; }
-
-
pre
-
-
-
-
damage
-
-
on damage ..
-
-
on damage { send "Hello World!"; }
-
-
post
-
-
-
-
respawn
-
-
on respawn ..
-
-
on respawn { send "Hello World!"; }
-
-
post
-
-
-
-
death
-
-
on death ..
-
-
on death { send "Hello World!"; }
-
-
post
-
-
-
-
game_join
-
-
on game_join ..
-
-
on game_join { send "Hello World!"; }
-
-
pre
-
-
-
-
game_leave
-
-
on game_leave ..
-
-
on game_leave { send "Hello World!"; }
-
-
pre
-
-
-
-
chat_send
-
-
on chat_send **message ..
-
-
on chat_send "real" { send "Hello World!"; }
-
-
pre
-
-
-
-
chat_receive
-
-
on chat_receive **message ..
-
-
on chat_receive "real" { send "Hello World!"; }
-
-
post
-
-
-
-
diff --git a/clickscript/commands/playsound.md b/clickscript/commands/playsound.md
deleted file mode 100644
index 2eb82bf..0000000
--- a/clickscript/commands/playsound.md
+++ /dev/null
@@ -1,20 +0,0 @@
-# Command: playsound
-Plays a sound to the client with volume and pitch.
-
-
-
**Usage**
-
-
-
**Example**
-
-
-
-
-
playsound **ID ** **
-
-
-
playsound #trident.throw 1 0.1
-
-
-
-
\ No newline at end of file
diff --git a/clickscript/commands/say_throw_desc.md b/clickscript/commands/say_throw_desc.md
deleted file mode 100644
index 7c3cbea..0000000
--- a/clickscript/commands/say_throw_desc.md
+++ /dev/null
@@ -1,53 +0,0 @@
-# Command: send, throw, say, description, print
-_Does something with the next quoted message._
-
-
-
-
Command
-
-
Action
-
-
Example
-
-
-
-
send
-
-
Sends the message to the client
-
-
send âHello world!â
-
-
-
-
throw
-
-
Throws an exception/error with with the message
-
-
throw âHello world!â
-
-
-
-
say
-
-
Say the message in chat to the server
-
-
say âHello world!â
-
-
-
-
description
-
-
Sets the current module description to the message
-
-
description âHello world!â
-
-
-
-
print
-
-
Prints the message in console/log
-
-
print âHello world!â
-
-
-
diff --git a/clickscript/commands/snap.md b/clickscript/commands/snap.md
deleted file mode 100644
index 53ad193..0000000
--- a/clickscript/commands/snap.md
+++ /dev/null
@@ -1,73 +0,0 @@
-# Command: turn_to, snap_to
-Slowly turn to or snap instantly to a target, then when done, execute a callback.
-
-
-
-
Usage
-
-
Example
-
-
-
-
turn_to **filtered_target_type **ID then ..
-
-
turn_to nearest_entity :player then input attack
-
-
-
-
turn_to **singular_target_type then ..
-
-
turn_to any_block then input use
-
-
-
-
-## All Target Types
-
-
-
**Filtered Target Types**
-
-
-
**Description**
-
-
-
-
-
nearest_entity
-
-
-
Nearest entity, but specifies which type
-
-
-
-
-
nearest_block
-
-
-
Nearest block, but specifies which type
-
-
-
-
-
**Singular Target Types**
-
-
-
-
-
-
-
any_block
-
-
-
Nearest block of any type
-
-
-
-
-
any_entity
-
-
-
Nearest entity of any type
-
-
-
diff --git a/clickscript/commands/swap.md b/clickscript/commands/swap.md
deleted file mode 100644
index e72ecfc..0000000
--- a/clickscript/commands/swap.md
+++ /dev/null
@@ -1,20 +0,0 @@
-# Command: swap
-
-Swaps current hand item with offhand item.
-
-
-
-
-
Usage
-
-
Example
-
-
-
-
swap
-
-
swap
-
-
-
-
diff --git a/clickscript/commands/switch.md b/clickscript/commands/switch.md
deleted file mode 100644
index 9fdb747..0000000
--- a/clickscript/commands/switch.md
+++ /dev/null
@@ -1,26 +0,0 @@
-# Command: switch
-
-Hotkeys to a certain item in the hotbar, or âbackâ to the previous slot.
-
-
-
-
-
-~N is a very special kind of decimal argument that allows:
-
-
-
-* ~ to represent relativity position-wise
-* ^ to represent relativity vector-wise
\ No newline at end of file
diff --git a/clickscript/commands/while.md b/clickscript/commands/while.md
deleted file mode 100644
index dd5f1c0..0000000
--- a/clickscript/commands/while.md
+++ /dev/null
@@ -1,389 +0,0 @@
-# Command: while, while_not, !while
-_Loops a script block or line until a condition is not met._
-
-## All Conditions & Examples
-
-
-
Name
-
-
Usage
-
-
Example
-
-
-
-
holding
-
-
while **N holding **ID ..
-
-
while 0.05 holding :diamond { send "Hello World!"; }
-
-
-
-
off_holding
-
-
while **N off_holding **ID ..
-
-
while 0.05 off_holding :diamond { send "Hello World!"; }
-
-
-
-
inventory_has
-
-
while **N inventory_has **ID ..
-
-
while 0.05 inventory_has :diamond { send "Hello World!"; }
-
-
-
-
hotbar_has
-
-
while **N hotbar_has **ID ..
-
-
while 0.05 hotbar_has :diamond { send "Hello World!"; }
-
-
-
-
target_block
-
-
while **N target_block **ID ..
-
-
while 0.05 target_block :diamond_block { send "Hello World!"; }
-
-
-
-
target_entity
-
-
while **N target_entity **ID ..
-
-
while 0.05 target_entity :creeper { send "Hello World!"; }
-
-
-
-
targeting_entity
-
-
while **N targeting_entity ..
-
-
while 0.05 targeting_entity { send "Hello World!"; }
-
-
-
-
targeting_block
-
-
while **N targeting_block ..
-
-
while 0.05 targeting_block { send "Hello World!"; }
-
-
-
-
input_active
-
-
while **N input_active **input ..
-
-
while 0.05 input_active attack { send "Hello World!"; }
-
while 0.05 in_game { send "I'm in the world, but I could be AFK."; }
-
-
-
-
playing
-
-
while **N playing ..
-
-
while 0.05 playing { send "I'm in the world and not AFK."; }
-
-
-
-
chance_of
-
-
while **N chance_of **N ..
-
-
while 0.05 chance_of 50 { send "A 50/50 chance!"; }
-
-
-
-
-## All Conditions & Meanings
-
-
-
Name
-
-
Meaning and What For
-
-
-
-
holding
-
-
If the player is holding this item in main hand
-
-
-
-
off_holding
-
-
If the player is holding this item in off hand
-
-
-
-
inventory_has
-
-
If the playerâs inventory has this item
-
-
-
-
hotbar_has
-
-
If the playerâs hotbar has this item
-
-
-
-
target_block
-
-
If the player is targeting this block
-
-
-
-
target_entity
-
-
If the player is targeting this entity
-
-
-
-
targeting_entity
-
-
If the player is targeting any entity
-
-
-
-
targeting_block
-
-
If the player is targeting any block
-
-
-
-
input_active
-
-
If the player has this input active
-
-
-
-
block_in_range
-
-
If the player is around this block within this range
-
-
-
-
entity_in_range
-
-
If the player is around this entity within this range
-
-
-
-
attack_progress
-
-
If the playerâs attack cooldown is this range
-
-
-
-
health
-
-
If the playerâs health value is this range
-
-
-
-
armor
-
-
If the playerâs armor value is this range
-
-
-
-
pos_x
-
-
If the playerâs x position is this range
-
-
-
-
pos_y
-
-
If the playerâs y position is this range
-
-
-
-
pos_z
-
-
If the playerâs z position is this range
-
-
-
-
module_enabled
-
-
If the client has this module enabled
-
-
-
-
module_disabled
-
-
If the client has this module disabled
-
-
-
-
block
-
-
If the client world has this block at this x, y, z coordinates
-
-
-
-
dimension
-
-
If the player is in this dimension (overworld, the_nether, the_end)
-
-
-
-
effect_duration
-
-
If the player has this effect with duration in this range
-
-
-
-
effect_amplifier
-
-
If the player has this effect with amplifier in this range
-
-
-
-
in_game
-
-
If the player is inside of a world or a multiplayer server, but could be afk.
-
-
-
-
playing
-
-
If the player is inside of a world or a multiplayer server and not afk.
-
-
-
-
chance_of
-
-
A random chance in %
-
-
-
-
diff --git a/clickscript/creating_ccs.md b/clickscript/creating_ccs.md
deleted file mode 100644
index ed35073..0000000
--- a/clickscript/creating_ccs.md
+++ /dev/null
@@ -1,10 +0,0 @@
-# Creating Script Files
-Now that you have everything set up in VSCode, you can start creating your script files. To do this click on the âNew Fileâ icon at the top of the navigation bar.
-
-![New File](img/new.png)
-
-Name the file whatever you want, but the convention is to have all lowercase with hyphens instead of spaces or underscores. The file name extension, however, remains as **.ccs** at all times.
-
-![Name the file](img/name.png)
-
-Once the file has been created, a preview would open to the right. Now you can start scripting! Remember to **Ctrl+S** to save any changes.
\ No newline at end of file
diff --git a/clickscript/downloading_cc.md b/clickscript/downloading_cc.md
deleted file mode 100644
index ce3b555..0000000
--- a/clickscript/downloading_cc.md
+++ /dev/null
@@ -1,8 +0,0 @@
-# Downloading ClickCrystals
-Hyped up and ready to script? Letâs download the mod itself!
-
-To download ClickCrystals, you must first acknowledge the fake copies that exist on the internet out there. When things like this happen, it is least likely that someone is using the name of ClickCrystals to get their name out there; most of the time it is someone taking advantage of <70 IQ people to download their infected software.
-
-Be sure that you only download the **.jar** from trusted sources. We would encourage most users to download our project on [CurseForge](https://www.curseforge.com/minecraft/mc-mods/clickcrystals). If you donât trust the CurseForge site, you can always visit [Modrinth](https://modrinth.com/mod/clickcrystals), but it is not recommended due to content rule compatibility issues and has been discontinued.
-
-If you are a developer and would rather build the jar yourself, ClickCrystals is a free and open source software on [GitHub](https://github.com/itzispyder/clickcrystals).
\ No newline at end of file
diff --git a/clickscript/examples.md b/clickscript/examples.md
deleted file mode 100644
index 982d3f2..0000000
--- a/clickscript/examples.md
+++ /dev/null
@@ -1,5 +0,0 @@
-# Our Example Scripts
-
-Here are some of our working example scripts provided by the community:
-
-![Examples](img/examples.png)
\ No newline at end of file
diff --git a/clickscript/image-1.png b/clickscript/image-1.png
deleted file mode 100644
index dd2c249..0000000
Binary files a/clickscript/image-1.png and /dev/null differ
diff --git a/clickscript/image-2.png b/clickscript/image-2.png
deleted file mode 100644
index 59cf755..0000000
Binary files a/clickscript/image-2.png and /dev/null differ
diff --git a/clickscript/image.png b/clickscript/image.png
deleted file mode 100644
index dd2c249..0000000
Binary files a/clickscript/image.png and /dev/null differ
diff --git a/clickscript/img/editor.png b/clickscript/img/editor.png
deleted file mode 100644
index a7e73f9..0000000
Binary files a/clickscript/img/editor.png and /dev/null differ
diff --git a/clickscript/img/examples.png b/clickscript/img/examples.png
deleted file mode 100644
index b2a5930..0000000
Binary files a/clickscript/img/examples.png and /dev/null differ
diff --git a/clickscript/img/files.png b/clickscript/img/files.png
deleted file mode 100644
index 8128a00..0000000
Binary files a/clickscript/img/files.png and /dev/null differ
diff --git a/clickscript/img/folder.png b/clickscript/img/folder.png
deleted file mode 100644
index f49ff4f..0000000
Binary files a/clickscript/img/folder.png and /dev/null differ
diff --git a/clickscript/img/icon.png b/clickscript/img/icon.png
deleted file mode 100644
index 49c114e..0000000
Binary files a/clickscript/img/icon.png and /dev/null differ
diff --git a/clickscript/img/name.png b/clickscript/img/name.png
deleted file mode 100644
index 45952d6..0000000
Binary files a/clickscript/img/name.png and /dev/null differ
diff --git a/clickscript/img/new.png b/clickscript/img/new.png
deleted file mode 100644
index ea3134a..0000000
Binary files a/clickscript/img/new.png and /dev/null differ
diff --git a/clickscript/img/run.png b/clickscript/img/run.png
deleted file mode 100644
index 688f266..0000000
Binary files a/clickscript/img/run.png and /dev/null differ
diff --git a/clickscript/img/title.png b/clickscript/img/title.png
deleted file mode 100644
index 57bc55b..0000000
Binary files a/clickscript/img/title.png and /dev/null differ
diff --git a/clickscript/img/tutorial.gif b/clickscript/img/tutorial.gif
deleted file mode 100644
index 9ac0c9e..0000000
Binary files a/clickscript/img/tutorial.gif and /dev/null differ
diff --git a/clickscript/img/tutorial2.gif b/clickscript/img/tutorial2.gif
deleted file mode 100644
index 5070859..0000000
Binary files a/clickscript/img/tutorial2.gif and /dev/null differ
diff --git a/clickscript/img/vscode.png b/clickscript/img/vscode.png
deleted file mode 100644
index eb7dbec..0000000
Binary files a/clickscript/img/vscode.png and /dev/null differ
diff --git a/clickscript/index.html b/clickscript/index.html
deleted file mode 100644
index b3098b2..0000000
--- a/clickscript/index.html
+++ /dev/null
@@ -1,78 +0,0 @@
-
-
-
-
-
-
- Official CCS Documentation
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Loading, please wait.
-
-
-
-
-
-
-
-
-
-
-
diff --git a/clickscript/more_info.md b/clickscript/more_info.md
deleted file mode 100644
index 3eb6dbf..0000000
--- a/clickscript/more_info.md
+++ /dev/null
@@ -1,6 +0,0 @@
-# More Information
-CCS is an interpreted script language, meaning that it determines what each execution does before it runs and does not require compilation. This allows ClickCrystals users to easily reload or run their scripts in game.
-
-All ClickCrystal scripts are run first thing upon game launch. This either includes the creation of new modules or other tasks such as saving the config or printing something into the console. If you want to execute scripts after launch, you can run the command `,ccs compile `. If you want to execute a script file, `,ccs run `.
-
-*All script files must have a file extension of .ccs or .txt. If the file does not have either one of these extensions, they will be skipped.*
diff --git a/clickscript/navigating_files.md b/clickscript/navigating_files.md
deleted file mode 100644
index df183fd..0000000
--- a/clickscript/navigating_files.md
+++ /dev/null
@@ -1,11 +0,0 @@
-# Navigating Files
-When ClickCrystals first launches, it would create a folder named **.clickcrystals** inside of your **.minecraft** folder.
-
-![ClickCrystals Folder](img/files.png)
-
-To access your **.minecraft** folder, press **Win+R** and type the following. A folder should pop up and in it select **.minecraft**. Inside of that folder you should see another one at the top named** .clickcrystals**.
-
-![Run](img/run.png)
-
-There are a few key components in your **.clickcrystals** folder. These include your config, clickcrystals log, profile data, profiles folder, and scripts folder. This wiki will be covering the **scripts folder** located in **.minecraft/.clickcrystals/scripts**.
-![Folder](img/folder.png)
\ No newline at end of file
diff --git a/clickscript/navigating_gui.md b/clickscript/navigating_gui.md
deleted file mode 100644
index 727b988..0000000
--- a/clickscript/navigating_gui.md
+++ /dev/null
@@ -1,4 +0,0 @@
-# Navigating GUI
-Once the home page has opened, you can either search up modules from the search bar or Browse the client options. For the sake of this tutorial, we will be checking out the âBrowse Modulesâ option.
-
-![Tutorial](img/tutorial.gif)
\ No newline at end of file
diff --git a/clickscript/navigating_vscode.md b/clickscript/navigating_vscode.md
deleted file mode 100644
index 2578f55..0000000
--- a/clickscript/navigating_vscode.md
+++ /dev/null
@@ -1,2 +0,0 @@
-# Navigating With VSCode
-VSCode provides a fast and easier way to navigate your folders and files. The auto bracket enclosure and indentation provides a smoother development experience. If you do not have VSCode installed, you can use their [web version](https://vscode.dev/).
\ No newline at end of file
diff --git a/clickscript/opening_cc_ingame.md b/clickscript/opening_cc_ingame.md
deleted file mode 100644
index 2b1ba05..0000000
--- a/clickscript/opening_cc_ingame.md
+++ /dev/null
@@ -1,7 +0,0 @@
-# Opening ClickCrystals Folder In-Game
-To use VSCode, you must first open a folder locally. To do this type the command `,folder` in chat. Remember that the default command prefix bind is set to **comma**.
-
-![Tutorial2](img/tutorial2.gif)
-
-You can then open this folder to VSCode by clicking on the âOpen Folderâ button and then selecting the **.clickcrystals** folder.
-![Open Folder](img/vscode.png)
\ No newline at end of file
diff --git a/clickscript/opening_gui.md b/clickscript/opening_gui.md
deleted file mode 100644
index 71e0b40..0000000
--- a/clickscript/opening_gui.md
+++ /dev/null
@@ -1,4 +0,0 @@
-# Opening GUI
-When in-game, you can press on the apostrophe key on your keyboard. The key should look like this: â . Another name for the apostrophe is called the single quote.
-
-
diff --git a/clickscript/reloading_scripts.md b/clickscript/reloading_scripts.md
deleted file mode 100644
index d9cdb2d..0000000
--- a/clickscript/reloading_scripts.md
+++ /dev/null
@@ -1,4 +0,0 @@
-# Reloading Scripts
-All script files can be reloaded by simply executing our custom client command `,ccs reload-scripts`
-
-Do note that upon reloading scripts, all custom scripted modules will be disabled. Scripted modules save to the same config that other modules do. To avoid this, there is a new command `,reload` that reloads the entire ClickCrystals Client. This would reload all scripts along with the client, and turn back on the modules that were disabled before.
\ No newline at end of file
diff --git a/clickscript/script_blocks.md b/clickscript/script_blocks.md
deleted file mode 100644
index 638466e..0000000
--- a/clickscript/script_blocks.md
+++ /dev/null
@@ -1,24 +0,0 @@
-# Script Blocks & Lines
-
-_A script line is a singular script command. This could sometimes be chained using then-chains. A script block is a collection of one or more script lines surrounded by brackets. If a script block is typed all on one line, semicolons are needed at the end of each line to distinguish it from the rest in the block._
-
-
-
-
-
A Script Line
-
-
A Script Block
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/common/assets/imgs/banned.png b/common/assets/imgs/banned.png
new file mode 100644
index 0000000..44b64d9
Binary files /dev/null and b/common/assets/imgs/banned.png differ
diff --git a/common/assets/imgs/key.png b/common/assets/imgs/key.png
new file mode 100644
index 0000000..e0b4cc0
Binary files /dev/null and b/common/assets/imgs/key.png differ
diff --git a/common/assets/imgs/modrinth.png b/common/assets/imgs/modrinth.png
new file mode 100644
index 0000000..67f0fe4
Binary files /dev/null and b/common/assets/imgs/modrinth.png differ
diff --git a/common/assets/ingame/cc_bulletin.png b/common/assets/ingame/cc_bulletin.png
index 86c510d..31a8c8a 100644
Binary files a/common/assets/ingame/cc_bulletin.png and b/common/assets/ingame/cc_bulletin.png differ
diff --git a/common/assets/ingame/cc_config.png b/common/assets/ingame/cc_config.png
index 61645a9..9b94a0c 100644
Binary files a/common/assets/ingame/cc_config.png and b/common/assets/ingame/cc_config.png differ
diff --git a/common/assets/ingame/cc_home.png b/common/assets/ingame/cc_home.png
index 976c36f..b0b0a2a 100644
Binary files a/common/assets/ingame/cc_home.png and b/common/assets/ingame/cc_home.png differ
diff --git a/common/assets/ingame/cc_hud.png b/common/assets/ingame/cc_hud.png
index fb03692..b876dd2 100644
Binary files a/common/assets/ingame/cc_hud.png and b/common/assets/ingame/cc_hud.png differ
diff --git a/common/assets/ingame/cc_ide.png b/common/assets/ingame/cc_ide.png
index fc76560..a19d393 100644
Binary files a/common/assets/ingame/cc_ide.png and b/common/assets/ingame/cc_ide.png differ
diff --git a/common/assets/ingame/cc_modules.png b/common/assets/ingame/cc_modules.png
index 3e0d21e..d1d0f2f 100644
Binary files a/common/assets/ingame/cc_modules.png and b/common/assets/ingame/cc_modules.png differ
diff --git a/common/assets/ingame/cc_scripting.png b/common/assets/ingame/cc_scripting.png
index ce73ad1..cbfef23 100644
Binary files a/common/assets/ingame/cc_scripting.png and b/common/assets/ingame/cc_scripting.png differ
diff --git a/common/assets/ingame/cc_search.png b/common/assets/ingame/cc_search.png
index 217e68f..4722da2 100644
Binary files a/common/assets/ingame/cc_search.png and b/common/assets/ingame/cc_search.png differ
diff --git a/common/assets/ingame/cc_settings.png b/common/assets/ingame/cc_settings.png
index 9629152..f183297 100644
Binary files a/common/assets/ingame/cc_settings.png and b/common/assets/ingame/cc_settings.png differ
diff --git a/common/assets/team/Josh266.png b/common/assets/team/Josh266.png
deleted file mode 100644
index 3944b88..0000000
Binary files a/common/assets/team/Josh266.png and /dev/null differ
diff --git a/common/assets/team/anton.png b/common/assets/team/anton.png
deleted file mode 100644
index e566eda..0000000
Binary files a/common/assets/team/anton.png and /dev/null differ
diff --git a/common/assets/team/daddyop.png b/common/assets/team/daddyop.png
deleted file mode 100644
index 0035307..0000000
Binary files a/common/assets/team/daddyop.png and /dev/null differ
diff --git a/common/assets/team/improperissues.png b/common/assets/team/improperissues.png
deleted file mode 100644
index 1aa49e3..0000000
Binary files a/common/assets/team/improperissues.png and /dev/null differ
diff --git a/common/assets/team/noone.png b/common/assets/team/noone.png
deleted file mode 100644
index 75defff..0000000
Binary files a/common/assets/team/noone.png and /dev/null differ
diff --git a/common/assets/team/theshotzy02.gif b/common/assets/team/theshotzy02.gif
deleted file mode 100644
index 3c8860c..0000000
Binary files a/common/assets/team/theshotzy02.gif and /dev/null differ
diff --git a/common/assets/team/tutla.png b/common/assets/team/tutla.png
deleted file mode 100644
index 0c4de15..0000000
Binary files a/common/assets/team/tutla.png and /dev/null differ
diff --git a/common/assets/team/wither.png b/common/assets/team/wither.png
deleted file mode 100644
index 0654012..0000000
Binary files a/common/assets/team/wither.png and /dev/null differ
diff --git a/common/assets/team/wither123go.png b/common/assets/team/wither123go.png
deleted file mode 100644
index 0561223..0000000
Binary files a/common/assets/team/wither123go.png and /dev/null differ
diff --git a/common/assets/team/wolf.gif b/common/assets/team/wolf.gif
deleted file mode 100644
index e0f4db5..0000000
Binary files a/common/assets/team/wolf.gif and /dev/null differ
diff --git a/common/assets/versions/.gitkeep b/common/assets/versions/.gitkeep
deleted file mode 100644
index 8b13789..0000000
--- a/common/assets/versions/.gitkeep
+++ /dev/null
@@ -1 +0,0 @@
-
diff --git a/common/assets/versions/ClickCrystals-1.20.4-1.2.1.jar b/common/assets/versions/ClickCrystals-1.20.4-1.2.1.jar
deleted file mode 100644
index 1c9d573..0000000
Binary files a/common/assets/versions/ClickCrystals-1.20.4-1.2.1.jar and /dev/null differ
diff --git a/common/js-css/banner.js b/common/js-css/banner.js
new file mode 100644
index 0000000..11395c6
--- /dev/null
+++ b/common/js-css/banner.js
@@ -0,0 +1,74 @@
+function calculateBasePathFromDataLayer() {
+ const dataLayer = document.body.getAttribute('data-layer');
+ const layer = parseInt(dataLayer, 10);
+ const layersToAscend = isNaN(layer) ? 0 : layer;
+ const basePath = '../'.repeat(layersToAscend);
+
+ return basePath;
+}
+
+
+basePath = calculateBasePathFromDataLayer();
+code = `
+
+
+
+
+ `;
+
+
+document.body.innerHTML = code+document.body.innerHTML
+
diff --git a/common/js-css/downloads/downloads.js b/common/js-css/downloads/downloads.js
new file mode 100644
index 0000000..9e1ab65
--- /dev/null
+++ b/common/js-css/downloads/downloads.js
@@ -0,0 +1,60 @@
+async function getGithubReleases(repoOwner, repoName) {
+ const url = `https://api.github.com/repos/${repoOwner}/${repoName}/releases`;
+ const response = await fetch(url);
+ const releases = await response.json();
+ return releases;
+}
+
+async function main() {
+
+ const repoOwner = "ItziSpyder";
+ const repoName = "ClickCrystals";
+ const releases = await getGithubReleases(repoOwner, repoName);
+
+ const latestRelease = releases[0];
+ const versionsElement = document.getElementById("versions");
+
+ const releaseTitle = latestRelease.name || "Unnamed Release";
+ const sourceCodeUrl = latestRelease.html_url;
+
+ let asset1194Url = null;
+ let asset120Url = null;
+ let asset1204Url = null;
+
+ latestRelease.assets.forEach(asset => {
+ console.log('e')
+ const assetName = asset.name;
+ const assetDownloadUrl = asset.browser_download_url;
+
+ if (assetName.includes("1.19.4")) {
+ asset1194Url = assetDownloadUrl;
+ } else if (assetName.includes("1.20") && !assetName.includes("1.20.4")) {
+ asset120Url = assetDownloadUrl;
+ } else if (assetName.includes("1.20.4")) {
+ asset1204Url = assetDownloadUrl;
+ }
+ });
+
+ const elementToDelete = document.getElementById("delete");
+if (elementToDelete) {
+ elementToDelete.remove();
+}
+ versionsElement.innerHTML= `
+
+
${releaseTitle}
+
Current Latest version with all of the latest features
- We were withheld, not banned. ClickCrystals project on Modrinth is
- withheld due to the presence of unfair advantages.
-
-
-
-
-
Why am I crashing?
-
- Incompatibility. The new versions of ClickCrystals has a new
- feature called Discord RPC. This essentially displays your acitivies
- on discord presence. Because the API that we use only supports Linux
- and Windows, ClickCrystals has become incompatible with MacOS and
- Pojav. Here's how you can solve this:
-
-
Get off Mac
-
-
ClickCrystals is not compatible with MacOS.
-
- If you have enough money to afford a MacOS, with the same money you
- could buy a real computer 10x better. Apple is a scam and you should
- hop off.
-
-
-
Get a real PC
-
-
Why play Java on phone? It's incompatible now!
-
-
-
-
- Is this mod safe? Is this a rat? Is this a vius?
+
+
+
+
+
+
+
We were withheld, not banned. ClickCrystals project on Modrinth is withheld due to the presence of unfair advantages.
+
+
+
+
+
+
+
+
+
+
+ Incompatibility. The new versions of ClickCrystals has a new
+ feature called Discord RPC. This essentially displays your acitivies
+ on discord presence. Because the API that we use only supports Linux
+ and Windows, ClickCrystals has become incompatible with MacOS and
+ Pojav. Here's how you can solve this:
+
+
Get off Mac
+
+
ClickCrystals is not compatible with MacOS.
+
+ If you have enough money to afford a MacOS, with the same money you
+ could buy a real computer 10x better. Apple is a scam and you should
+ hop off.
+
+
+
Get a real PC
+
+
Why play Java on phone? It's incompatible now!
+
+
+
+
+
+
+
+
+
In around May of 2023, our mod ClickCrystals, developed by ImproperIssues (aka ItziSpyder), has been stolen by a person with the alias of L0rax or Niksa_. This person proceeded to inject malicious code that grabs your Microsoft account, Skyblock information, and IP then sends them to a Discord webhook.
+
+ L0rax has commited identity theft and advertised ClickCrystals as his own mod on CurseForge. Luckily, after a few months of fighting, the duplicate mod was taken down and the webhook was nuked and destroyed. 7 months later, we have decided that the situation on CurseForge has calmed down enough for us to reupload our mod to the site.
+
+ Please refrain from downloading ClickCrystals from any link other than the ones provided in the downloads Tab up top of the page. Do not accept random files from strangers or websites that you do not trust.
+
+
+
+
+
+
+
+
ClickCrystals script is an in-game custom module maker. The script allows you to create custom modules similarly in a way you would create datapacks.
+
+
+
+
+
+
+
+
+
Click on the download Tab on top of this screen.
+
+
+
+
+
+
+
+
Short answer, no.
+
+ Long answer, it is not a cheat. It does not automate any task, for every action the mod preforms, you have to click or interact with something. The definition of macro is doing a task without the player inputting anything. This is false. Unless a player creates a macro with ClickCrystals script, the mod itself does not provide any unfair advantages.
+
+
+
+
+
+
+
+
+ While we believe ClickCrystals doesn't provide any unfair game
+ advantages, the world does not. Servers WILL ban you if they find out
+ you are using this mod. Best way to prevent this from happening is to
+ not get screenshared. We have provided multiple approaches to this:
+
+
+
The mod does not flag anticheat
+
The mod looks like normal gameplay in third person view
+
+ The mod, unless errors and stacktraces, has its own custom log file
+ seperate from the vanilla one; can be easily deleted
+
+
+
+ If you still possess older versions of ClickCrystals, you may have
+ heard of the command !cc -users. This command was once added as a fun
+ easter egg, which has later caused a disaster leading to its removal
+ in later versions. Servers can use this to force ban you, be sure to
+ update your version!
+
+
+
+
+
+
+
+
+
Apostrophe key. If you don't know what it is, you're a third grader that shouldn't be play games and should be studying instead.
+
+
+
+
-
- In around May of 2023, our mod ClickCrystals, developed by
- ImproperIssues (aka ItziSpyder), has been stolen by a person with the
- alias of L0rax or Niksa_. This person proceeded to inject malicious
- code that grabs your Microsoft account, Skyblock information, and IP
- then sends them to a Discord webhook.
-
-
- L0rax has commited identity theft and advertised ClickCrystals as his
- own mod on CurseForge. Luckily, after a few months of fighting, the
- duplicate mod was taken down and the webhook was nuked and destroyed.
- 7 months later, we have decided that the situation on CurseForge has
- calmed down enough for us to reupload our mod to the site.
-
-
- Please refrain from downloading ClickCrystals from any link other than
- the ones provided in the downloads Tab up top of the page. Do not
- accept random files from strangers or websites that you do not trust.
-
-
-
-
What is ClickCrystals Script? How do I use it?
-
- ClickCrystals script is an in-game custom module maker. The script
- allows you to create custom modules similarly in a way you would
- create datapacks.
-
-
-
-
How do I download ClickCrystals?
-
Click on the download Tab on top of this screen.
-
-
-
Is this cheating?
-
Short answer, no.
-
- Long answer, it is not a cheat. It does not automate any task, for
- every action the mod preforms, you have to click or interact with
- something. The definition of macro is doing a task without the player
- inputting anything. This is false. Unless a player creates a macro
- with ClickCrystals script, the mod itself does not provide any unfair
- advantages.
-
-
-
-
Will I be banned? Is this bannable?
-
- While we believe ClickCrystals doesn't provide any unfair game
- advantages, the world does not. Servers WILL ban you if they find out
- you are using this mod. Best way to prevent this from happening is to
- not get screenshared. We have provided multiple approaches to this:
-
-
-
The mod does not flag anticheat
-
The mod looks like normal gameplay in third person view
-
- The mod, unless errors and stacktraces, has its own custom log file
- seperate from the vanilla one; can be easily deleted
-
-
-
- If you still possess older versions of ClickCrystals, you may have
- heard of the command !cc -users. This command was once added as a fun
- easter egg, which has later caused a disaster leading to its removal
- in later versions. Servers can use this to force ban you, be sure to
- update your version!
-
-
-
-
How to open menu?
-
- Apostrophe key. If you don't know what it is, you're a third grader
- that shouldn't be play games and should be studying instead.
-