#Looking for a dev that can help me create some mods for my server (Fabric 1.20.1)

194 messages · Page 1 of 1 (latest)

hard thunder
#

Good Morning, looking for a dev that can help me create some mods for my Srv.

thanks

pine nebula
#
  1. #moderator-messages message
  2. what mods?
hard thunder
#

i will discuss the ideas in private in casa since it's not allowed here

#

so how do i look for a freelancer here? that can help me

#

if it's not allowed

pine nebula
#

You can still ask, but you just can’t offer money for it

hard thunder
pine nebula
#

That’s not true

#

Look at a lot of the posts here

#

Describe what you need and maybe someone will find it interesting and take it on

hard thunder
#

Referral System

  • Fabric 1.20.1 (server sided mod)
  • Italian language
  1. Automatic Referral Code System

    • Generate unique 5-character alphanumeric codes (e.g., X83K9) for each player on first join
    • Store codes persistently (survives server restarts)
    • No duplicate codes allowed
  2. Commands:

    • /codice → Shows the player's own referral code ("Il tuo codice: X83K9")
    • /amico <CODICE> → Links player to a referrer (usable only once per account)
    • /amico list → Shows all players who used your code ("Giocatori invitati: Player1, Player2")
  3. Technical Requirements:

    • Server-side only (no client requirements)
    • Prevents:
      • Self-referral (can't use own code)
      • Multiple referrals (one-time use only)
      • Invalid codes (must be 5 chars, existing code)
  4. Error Handling:

    • Clear messages for:
      • Already used command ("Hai già usato questo comando")
      • Invalid code ("Codice non valido")
      • Self-referral ("Non puoi usare il tuo codice")
frank crescent
#

what purpose shall this serve?

hard thunder
#

so we can have ambassadors inviting people

#

and we have a CONFIRMATION that X player got invited by X player and uses that code

#

just a Referral System, nothing more nothing less

frank crescent
#

i mean what you currently describe is just

#

people having codes associated with them

hard thunder
#

Not only that

frank crescent
#

and nothing else is done with the codes

hard thunder
#

read again please :3

frank crescent
#

i know you can show who referred whom. but is that really it?

pine nebula
#

So as someone who doesn’t spean Italian, I think we could easily do the command feedback through language files

#

*speak

frank crescent
#

and it-IT.json

pine nebula
#

Also can’t we just use player uuid instead of code

#

||Why make a new system when the existing one works fine||

hard thunder
#

XD

#

it's better just /amico ABC12

#

Referral System - Fabric 1.20.1 (Server-Side Mod)

Language: Italian

1. Automatic Referral Code System

  • Each player receives a unique 5-character alphanumeric referral code (e.g., X83K9) upon first join.
  • Codes are persistently stored (survive server restarts).
  • No duplicate codes allowed.

2. Commands

  • /codice → Shows the player's own referral code (e.g., "Il tuo codice: X83K9").
  • /amico <CODICE> → Links the player to a referrer (can be used only once per account).
  • /amico list → Displays all players who used your code (e.g., "Giocatori invitati: Player1, Player2").
  • /amico list * → Shows a full server-wide list of all players and their number of invites.
  • /amico list @nome → Shows the number and names of invitees for a specific player. (For admin verification purposes.)

3. Referral Flow

  1. A player invites a friend via Facebook, Discord, or any other platform.
  2. The new player joins the server and is immediately asked:

"Inserisci il codice della persona che ti ha invitato su questo server (OPZIONALE)"

  1. If the player enters a referral code, they are permanently linked to the referrer.
  2. The server owner can track referrals using admin commands (/amico list * and /amico list @nome).
  3. Ambassadors (referrers) earn rewards and claim them via Discord (they open a ticket and ask for the reward)

4. Technical Requirements

  • Server-side only (no client modifications required).
  • The system prevents:
    • Self-referral (players cannot use their own code).
    • Multiple referrals (code can be used only once per player).
    • Invalid codes (must be exactly 5 characters and exist in the system).

5. Error Handling

  • Already used command: "Hai già usato questo comando"
  • Invalid code: "Codice non valido"
  • Self-referral attempt: "Non puoi usare il tuo codice"
pine nebula
#
  1. Command suggestions
  2. Easy to make the argument take in a playername instead. See the data merge and whitelist commands
hard thunder
#

idk, what's better im not an expert, so you decide

#

but if someone can do it, and in italian (i can do the translations) i'd be HAPPY ❤️

pine nebula
#

You might need to provide the translations

hard thunder
#

Ok tell me what you need

#

and i'll send now ahahah

#

i really need this mod, as well as other things, that's why i was "hiring" someone

#

but if you really want to do it for free and share for everyone it's ok for me, im still happy

pine nebula
#

I don’t know what I need yet, and I’m also probably not taking this one ¯_(ツ)_/¯

frank crescent
#

i can take a look

hard thunder
#

tell me what you need, images, translations, whatever, documentation

#

i'll do it

#

actually i was about to TRY to code it, but idk what to exactly use, IntelliJ with the java jdk or MC Creator

hard thunder
pine nebula
#

I doubt mcreator can effectively pull this off

hard thunder
#

the problem i had with IntelliJ is the fabric thing

#

using 1.20.1 (the ver i need)

#

and i opened it in intellij, but i never used intellij, i'm used to VSCode and Visual studio

pine nebula
#

How well do you know java

hard thunder
#

im a web fullstack developer, so java is not my thing

hard thunder
#

i studied it at school, and that was LOTS of years ago spanish_inquisition_1

pine nebula
#

That’s still a decent start

#

I would recommend following the fabric wiki / docs for setup

#

!!docs

crimson shadowBOT
hard thunder
#

i would love someone to take this and make ithappen

pine nebula
#

If video tutorial is more your thing, I would recommend kaupenjoe on youtube

hard thunder
#

i hate platforms like Fiverr and so, but if no one wil ltake this here that's the place im going

hard thunder
# pine nebula If video tutorial is more your thing, I would recommend kaupenjoe on youtube
pine nebula
#

Yep

hard thunder
# pine nebula Yep

So just in case i want to give it a shot alone (on free time, so never...) IntelliJ, + Java JDK 17 to develop for 1.20.1

#

so it has the build.gradle already setup

pine nebula
#

Yep, but I would hold off on starting until zOnlyKroks gets back to you (unless you really want to learn fabric)

hard thunder
#

he can take care of the mod while i learn something about fabric

#

last time i did something (development) on minecraft was 1.5.2

pine nebula
#

Awesome, then have fun! If you have any questions just ask in the mod deb channels ;)

hard thunder
#

and i used Spigot or Bukkit, can't even remember

hard thunder
#

i developed some plugins for a server

frank crescent
#

@hard thunder i will push smth to github shortly

#

absolutely rough draft, no translations yet

#

but maybe with a tad of luck it works, i dont really know as i cant test it rn

pine nebula
#

Wow that was fast

frank crescent
#

so it may aswell just, implode

frank crescent
#

i mean, maybe it does all you ask

#

maybe i forgot something

#

you´ll see ig

hard thunder
#

AI?

frank crescent
#

?

#

for the translations? hell yea

hard thunder
#

is the code written with ai?

#

looks exactly like the one Claude Sonnet 3.5 made for me before ahahha same classes also and comments

#

i mean, i don't really care if it work AHAHHA

frank crescent
#

because why bother writing it by hand if claude does it 5 times faster than me

#

for something so basic, this is a task ai can and should be used imo

hard thunder
#

let's see if it work...

#

so how it work in facts

#

i join and it generated a code for me, where is this code stored?

#

a file or .db ?

frank crescent
#

the code isnt actually generated when you join

#

its generated as you execute the command for showing the code itself

#

functionally no difference for the user

hard thunder
#

dispatcher.register(CommandManager.literal("codice")
.executes(context -> showReferralCode(context.getSource()))
);

#

ok i see

frank crescent
#

and yes, its saved in a simple gson file

#

as why bother with a whole ass database

hard thunder
#

ok where is this json stored?

#

in the config folder of the srv?

pine nebula
#

….does it ever even save it lmao

hard thunder
frank crescent
#

i multitask the hell at work rn

#

4 different projects open

hard thunder
#

i mean, i could do this too with ai, using cursor or the intellij ai integrated

#

only thing is that i don't know nothing about fabric and how to set it up on intellij that's why i folded

frank crescent
#

but yea, it is saved

hard thunder
#

where?

#

oh here private static final File REFERRAL_DATA_FILE = new File(FabricLoaderImpl.INSTANCE.getConfigDir() + "/player_referrals.json");

pine nebula
hard thunder
#

src/main/java/de/zonlykroks/playerreferal/ReferralDataSerializer.java

frank crescent
#

its saved whenever generated / assigned to someone

pine nebula
#

Save method looks like it’s never called

#

Because it never seems to be assigned? I don’t know the code is weird

frank crescent
hard thunder
#

It's simply not revisioned AI generated code, it's ok

#

but needs to be revisioned

frank crescent
#

have you tried it yet

hard thunder
#

if he's at work and just prompted in my request it makes sense that it's not done

hard thunder
#

i have that 1 fckin player on the srv now ahaha

frank crescent
#

i am yet to see a thing why it shouldnt work

hard thunder
#

i cannot restart

pine nebula
frank crescent
hard thunder
#

i code with ai sometimes,

frank crescent
#

whenever i launch 1.16.5 and above

#

it just

hard thunder
#

used Cursor, Copilot, Aide

pine nebula
hard thunder
#

so i know how these fuckers work

frank crescent
#

implodes when trying to render anything

hard thunder
#

80% you have to review it

pine nebula
hard thunder
#

java update prolly?

frank crescent
frank crescent
pine nebula
#

Just to make sure the ai didn’t make anything weird

hard thunder
#

as soon as this lil guy leaves i'm restarting and giving you feedback

frank crescent
#

its code that looks functional to the 1 braincell allocated to it

#

i am just not a jvm runtime that can run code in my head

#

and the server runs, doesnt crash. i can execute the commands

#

to the point where it tells me to f off because i am not a player executing the command

frank crescent
hard thunder
#

im kicking this dude at 11 ahahah

#

he won't log out

#

grinder

#

BTW @frank crescent is there the feature for admins to check referrals for other players

#

or how can i confirm someone used a code

frank crescent
#

Look in the file ig

hard thunder
#

mod starts

#

and "LOOKS" like it's working

#

need a mate to try it out

hard thunder
#

I have so much ideas about this

#

@frank crescent a GUI along with this should be amazing

#

Actually how can i edit this thing you made and compile the jar again?

frank crescent
#

Yea well, that will need a good ol recode by hand this time

frank crescent
hard thunder
#

And then

#

How do i save or compile to a .jar?

frank crescent
#

run the build task in intellij / on the gradle side bar

hard thunder
#

@frank crescent can you share the boilerplate for the mod you made?

#

for fabric 1.20.1 with gradle, like the one u shared?

frank crescent
hard thunder
#

TF is Minecraft YARN version? u put 1.20.1 in there?

#

what u used?

hard thunder
#

@frank crescent

frank crescent
#

yarn is the mappings version