I'm bumping this because I actually need to know what packs you all want so that I can actually properly implement this.
Posts by videogamesm12
-
-
Auctions for renders of historic TF builds that involve coins. Whoever can pay the most coins gets declared to have the "rights to it" by the person who rendered it.
-
I had a little fun with this exploit, not going to lie.
-
-
-
After a rather lengthy break from development, Hotbars+ v1.3 is now available.
You can view the GitHub release here: https://github.com/VideoGameSm…arsPlus/releases/tag/v1.3QuoteThis has changed. As of v1.3, the maximum amount of pages is now 18,446,744,073,709,551,615.
-
-
-
Denied. Try again next year.Just kidding. Welcome back.
-
After receiving reports of jwmphall's misconduct on Darkstone (a server belonging to an admin), I have made the decision to temporarily suspend him from his administrative status for a week.
To quote Ryan on this thread:
QuoteAs a general rule of thumb, I and the executive's will not get involved in anything you do on another platform unless a report is made against you to suggest you have been acting in a way which would be deemed inappropriate as a representative of this server and community, something you are by taking on a position of responsibility on this server.
I will also clarify, I am not expecting admins to uphold our full conduct policy off-server, however I do expect them to apply common sense, and remember that there are lines which really need not be crossed.
QuoteThis ceased to be the case when you became an administrator (and thus, a role model and a representative of this community) again.
-
-
It has been an honor working with you, old friend.
-
-
No. I have spent years on this server partially because I have gotten sick of mini game servers. We would literally become generic with this.
Object.
-
-
-
I remember you. Vouch.
-
I rewrote your script to properly validate the input given and improved how you implemented the "define object and then dump it as JSON to disk" part.
Code
Display Moreimport json import re # loop so that lyicx doesn't need to constantly rerun the script while True: colour = input("what color, dingle dick? \n").lower() # prevents empty inputs from being entered if not colour: print("YOU NEED TO GIVE ME A COLOR DINGLEDICK \n") continue # validates the string against a regex pattern to prevent invalid namespaces from being created if not re.findall(r"^[0-9a-z/._-]*$", colour): print("YOU CHEEKY FUCKER THAT ISN'T VALID \n") continue # the dict that will be converted to json later recipejason = { 'type': 'minecraft:smithing', 'base': {'item': f'minecraft:{colour}_dye'}, 'addition': {'item': 'minecraft:copper_block'}, 'result': {'item': f'minecraft:{colour}_concrete', 'count': 16} } # tries to convert the dict above into proper json and then save it try: with open(f"smithing_concrete_{colour}.json", 'w') as outfile: json.dump(recipejason, outfile, sort_keys=True, indent=4) print(f'smithing_concrete_{colour}.json written successfully! \n') # prints the error into console to assist in debugging except Exception as fuck: print(f"BIG FUCK, I FUCKING FUCKED MYSELF: \n{fuck}") input("Press ENTER to continue")Here's an example of a file outputted by the rewritten script:
-
-
Are you gonna rig votes again like the first time?