Description
This is a mod that enables you to customize daily rewards to players.
Default Rewards:
1st Day- Bread *3
2nd Day- Planks *16
3rd Day- Apple *5
4th Day- Coal *8
5th Day- Iron Sword*1
6th Day- A set of Leather Armors
7th Day- Diamond *1
Since r1.0-4, no default rewards and crafttweaker is required.
How to Customize
Since r1.0-4, it begins to use Zenscript so Crafttweaker is required.
Syntax:
mods.dailyreward.add(String str, Object... obj);
str to decide when to give the reward, and obj is the reward, supporting itemstack and command
similar to the old way
For example:
mods.dailyreward.add("%day == 1", <minecraft:stone>, <minecraft:dirt>, "/kill &p");
when player login in the first day, he will be awarded a stone block and a dirt block, and get killed.
%day==1 The first day player logged in
%day%10==1 The first day and then for every ten days
%day>3 having logged in for more than 3 days
%d==1 every 1st day of the month
%m==10 && %d==1 Oct.1st every year
Before r1.0-4
open dailyreward.cfg or use Config Gui first
Default:
S:dailyreward.customization <
%day==1#stack==minecraft:bread,0,3
%day==2#stack==minecraft:planks,0,16
%day==3#stack==minecraft:apple,0,5
%day==4#stack==minecraft:coal,0,8
%day==5#stack==minecraft:iron_sword
%day==6#stack==minecraft:leather_helmet#stack==minecraft:leather_chestplate#stack==minecraft:leather_leggings#stack==minecraft:leather_boots
%day==7#stack==minecraft:diamond
>
Parameter provided:
%day - refer to how many days player has logged in
%cont - refer to how many days player has logged in continuely
%posx %posy %posz - refer to player's position
%y %m %d - refer to the year, the month, the day of month when player logged in
%p - refer to player's name
The Syntax is : boolean#1st reward#2nd reward ...etc
boolean can be written as followed:
%day==1 The first day player logged in
%day%10==1 The first day and then for every ten days
%day>3 having logged in for more than 3 days
%d==1 every 1st day of the month
%m==10 && %d==1 Oct.1st every year
reward can be written as followed:
stack==modid:name
stack==modid:name,metadata
stack==modid:name,metadata,amount
stack==modid:name,metadata,min,max
command==/[insert command]
An Example:
%day==1#stack==minecraft:apple#stack==minecraft:iron_sword#command==/kill %p
When player first logged in, give him an apple and a iron sword and then kill him
Our Media


https://discord.gg/FFEzvtr
Try my another mod: ExtraBotany, a Botania Addon
Commands:
/drcheck - show check-in detailed information
/drexecute [insert day] [insert cont] - for testing
AD
Become Premium to remove Ads!
What means Verified?
-
Compatibility: The mod should be compatible with the latest version of Minecraft and be clearly labeled with its supported versions.
-
Functionality: The mod should work as advertised and not cause any game-breaking bugs or crashes.
-
Security: The mod should not contain any malicious code or attempts to steal personal information.
-
Performance: The mod should not cause a significant decrease in the game's performance, such as by causing lag or reducing frame rates.
-
Originality: The mod should be original and not a copy of someone else's work.
-
Up-to-date: The mod should be regularly updated to fix bugs, improve performance, and maintain compatibility with the latest version of Minecraft.
-
Support: The mod should have an active developer who provides support and troubleshooting assistance to users.
-
License: The mod should be released under a clear and open source license that allows others to use, modify, and redistribute the code.
-
Documentation: The mod should come with clear and detailed documentation on how to install and use it.
AD
Become Premium to remove Ads!
How to Install
Download Forge & Java
Download Forge from the offical Site or here. If you dont have Java installed then install it now from here. After Downloading Forge you can run the file with Java.
Prepare
Lounch Minecraft and select your Forge istallation as Version this will create a Folder called Mods.
Add Mods
Type Win+R and type %appdata% and open the .minecraft Folder. There will you find your Folder called Mods. Place all Mods you want to play in this Folder
Enjoy
You are now Ready. Re-start your Game and start Playing.