Git Product home page Git Product logo

bos-daily-rewards's Introduction

Daily Rewards (1.16.5)

Daily Rewards Downloads Daily Rewards Versions

Note: This version will only receive maintenance updates!

Daily rewards is a very lightweight and simple Forge mod that rewards players daily.

Daily Rewards Screenshot

Features

  • Server and client friendly
  • Easy Customization over configuration file
  • Extra UI to collect rewarded items and to see upcoming rewards
  • Grant daily rewards after some minutes online and not immediately
  • Supports mod items and loot bags

Report Issues

Please report issues over the issue link above.

Daily Rewards Configuration

All rewards could be customized over the configuration file under config/daily_rewards_common.toml.

Preview reward data

You can preview the configured rewards for each month based on the configuration over the /DailyRewards preview ... command. Example: DailyRewards preview April

Please keep in mind that the preview could be different from the actually result if you haven't define a reward for each single day.

Reset reward data

If you want to reset the rewards for the current month, the easiest way is to delete the reward data files inside your world folder under:

  • data/daily_rewards_user.dat
  • data/daily_rewards.dat

Alternative you could use an NBT editor to directly edit the files for a specific day. After the change you need to restart the server, to re-calculate the current daily rewards based on your configuration.

Internal Data Structure

This section covers the internal data structure used inside the corresponding .dat files.

Reward Data (daily_rewards.dat)

The reward data are separated by year month and will be calculated at the beginning of the month based on the provided config.

Data structure:

  • Rewards
    • Year - Month (key)
    • Rewards 1-31 [ItemStack ...]

Reward User Data (daily_rewards_user.dat)

The reward user data tracking the given rewards to the user, they have no direct relationship to the reward data to make sure updates will not make former rewards invalid and are only relevant for further items.

Data structure:

  • Rewards User
    • Year - Month - UUID (key)
    • Rewards 1-31 (takeable) [ItemStack ...]
    • Last rewarded day (String)
    • Number of rewarded days (int)

Version Status Overview ๐Ÿ› ๏ธ

Version Status
Fabric Version โŒ Not planned
Forge 1.16.5 โš ๏ธ Maintenance only
Forge 1.17.1 โŒ Not planned
Forge 1.18.1 โŒ Not planned
Forge 1.18.2 โš ๏ธ Maintenance only
Forge 1.19 โš ๏ธ Deprecated
Forge 1.19.1 โš ๏ธ Deprecated
Forge 1.19.2 โœ”๏ธ Active development

License

The MIT LICENSE.md applies only to the code in this repository. Images, models and other assets are explicitly excluded.

Note

Please only download the mod from the official CurseForge page or with the official CurseForge launcher like:

๐Ÿš€ https://www.curseforge.com/minecraft/mc-mods/daily-rewards

If you are downloading this mod from other sources we could not make sure that it works as expected or does not includes any unwanted modification (e.g. adware, malware, ...).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.