Skip to content

Commit

Permalink
feat: finalized to release version
Browse files Browse the repository at this point in the history
  • Loading branch information
Adr-hyng committed Aug 14, 2024
1 parent fa31cd8 commit a76a2f4
Show file tree
Hide file tree
Showing 9 changed files with 20 additions and 29 deletions.
14 changes: 5 additions & 9 deletions BP/manifest.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
{
"format_version": 2,
"header": {
"name": "Anvil Repairing BP 1.0.0 [DEBUG]",
"name": "Anvil Repairing BP 1.0.1",
"description": "Repair your anvils with as simple as iron ingots to extend its lifespan. \n @Made By: https://twitter.com/h_YanG_0A",
"uuid": "8699f58d-1fa2-4af6-85cb-1cbe713d2511",
"version": [
1,
0,
0
1
],
"min_engine_version": [
1,
20,
1
21,
0
]
},
"modules": [
Expand Down Expand Up @@ -51,16 +51,12 @@
"module_name": "@minecraft/server-ui",
"version": "1.2.0"
},
{
"module_name": "@minecraft/server-admin",
"version": "1.0.0-beta"
},
{
"uuid": "f7ea8b5b-c129-4ab7-b813-3120c4adba6c",
"version": [
1,
0,
0
1
]
}
],
Expand Down
Binary file modified BP/pack_icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions BP/scripts/configuration/server_configuration.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@ export default {
/**
* Enables debug messages to content logs.
*/
debug: true,
debug: false,
/**
* The amount of iron ingots required in order to repair an anvil.
*/
IronIngotsRequired: 3,
IronIngotsRequired: 1,
/**
* Shows the script initialization message log upon player joining, default is true.
*/
ShowMessageUponJoin: true,
};

// version (do not change)
export const VERSION = "1.0.0";
export const VERSION = "1.0.1";
8 changes: 4 additions & 4 deletions RP/manifest.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
{
"format_version": 2,
"header": {
"name": "Anvil Repairing RP 1.0.0 [DEBUG]",
"name": "Anvil Repairing RP 1.0.1",
"description": "Repair your anvils with as simple as iron ingots to extend its lifespan. \n @Made By: https://twitter.com/h_YanG_0A",
"uuid": "f7ea8b5b-c129-4ab7-b813-3120c4adba6c",
"version": [
1,
0,
0
1
],
"min_engine_version": [
1,
20,
1
21,
0
]
},
"modules": [
Expand Down
Binary file modified RP/pack_icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 2 additions & 8 deletions setup/mc_manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
"description": "Repair your anvils with as simple as iron ingots to extend its lifespan. \n @Made By: https://twitter.com/h_YanG_0A",
"bp_uuid": "8699f58d-1fa2-4af6-85cb-1cbe713d2511",
"rp_uuid": "f7ea8b5b-c129-4ab7-b813-3120c4adba6c",
"version": [1, 0, 0],
"min_engine_version": [ 1, 20, 1 ]
"version": [1, 0, 1],
"min_engine_version": [ 1, 21, 0 ]
},
"bp_modules": [
{
Expand Down Expand Up @@ -43,12 +43,6 @@
"version": "1.2.0"
}
],
"bp_server_dependencies": [
{
"module_name": "@minecraft/server-admin",
"version": "1.0.0-beta"
}
],
"metadata": {
"authors": [
"@h_YanG_0A"
Expand Down
6 changes: 3 additions & 3 deletions src/configuration/server_configuration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@ export default {
/**
* Enables debug messages to content logs.
*/
debug: true,
debug: false,
/**
* The amount of iron ingots required in order to repair an anvil.
*/
IronIngotsRequired: 3,
IronIngotsRequired: 1,
/**
* Shows the script initialization message log upon player joining, default is true.
*/
ShowMessageUponJoin: true,
};

// version (do not change)
export const VERSION = "1.0.0";
export const VERSION = "1.0.1";
2 changes: 1 addition & 1 deletion src/configuration_settings.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"IronIngotsRequired": {
"description": "The amount of iron ingots required in order to repair an anvil.",
"default": 3
"default": 1
},
"ShowMessageUponJoin": {
"description": "Shows the script initialization message log upon player joining, default is true.",
Expand Down
3 changes: 2 additions & 1 deletion tools/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@

addon_name = json.loads(open('setup/mc_manifest.json', 'r').read()).get("header").get("bp_name")
build_pack_name = addon_name[:addon_name.rfind(" BP")]
version_tag = 'v1.0.1'
version_tag = 'v' + '.'.join(map(str, json.loads(open('setup/mc_manifest.json', 'r').read()).get("header").get("version")))


def check_tsc_compiler():
try:
Expand Down

0 comments on commit a76a2f4

Please sign in to comment.