c0de-net

A network funtion library for the c0de programming language
Back to Files

c0de net 0.4.0 for Fabric 26.2

File namec0de_net-fabric-0.4.0-26.2.jar
Uploader
joernottjoernott
Uploaded
Nov 16, 2026
Downloads
5
Size
963.5 KB
Mod Loaders
Fabric
File ID
9654668
Type
A
Alpha
Supported game versions
  • 26.2

Curse Maven Snippet

Fabric

modImplementation "curse.maven:c0de-net-1800920:9654668"

Learn more about Curse Maven

What's new

Mail, and the handbook as a binder of c0de, for c0de 0.6.1.

  • c0de_net/mail: a new library that sends mail over SMTP and reads and manages mailboxes over IMAP. INCLUDE c0de_net/mail and call SMTP_SEND, IMAP_LIST, IMAP_CREATE, IMAP_DELETE, IMAP_RENAME, IMAP_STATUS, IMAP_SELECT, IMAP_SEARCH, IMAP_FETCH, IMAP_STORE, IMAP_MOVE or IMAP_EXPUNGE. Mail is plain text.
  • SMTP_SERVER and IMAP_SERVER: structs with the server, port, security (TLS, STARTTLS or none), user name, password, timeout and SSL settings. The password is sensitive: the debugging tool shows ***. IMAP_SELECT stores the selected folder in the IMAP_SERVER variable. MAIL and MAILBOX hold messages and the status of folders.
  • Mail on the client: like HTTP requests, the game of the player who runs the program connects to the mail server. Players switch mail off with allowMail=false, servers with enableMail=false.
  • Limits: the server limits the size of messages (64 KiB), recipients (20), messages per player and minute (10), and what IMAP_FETCH and IMAP_SEARCH read (1 MiB, 100 messages). Port 25 is blocked unless allowPort25 is set.
  • Errors: MAIL_DISABLED, AUTHENTICATION_FAILED, MAIL_REJECTED and MAIL_LIMIT, as constants of c0de_net/mail with the other errors it raises.
  • Program runner: the runner library brings c0de_net/mail too, with Angus Mail inside.
  • Handbook: the handbook is one of the binders of c0de's handbooks, with a teal label, in English and German. Patchouli is no longer used.
  • c0de 0.6.1 or newer is required.