# How to add custom settings in Project Settings?

**URL:** <https://forums.unrealengine.com/t/how-to-add-custom-settings-in-project-settings/146330>\
**Category:** C++\
**Tags:** unreal-engine\
**Created:** [June 23, 2020, 4:55pm UTC](https://forums.unrealengine.com/t/how-to-add-custom-settings-in-project-settings/146330 "2020-06-23T16:55:03Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![lehuan5062](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@lehuan5062](https://forums.unrealengine.com/u/lehuan5062)\
**Post date:** [February 14, 2023, 2:22pm UTC](https://forums.unrealengine.com/t/how-to-add-custom-settings-in-project-settings/146330/10 "2023-02-14T14:22:34Z")

</div>

I fixed it by removing the module method above and using these codes:

Header:

```auto
#pragma once

#include "Engine/DeveloperSettings.h"
#include "CurrencySetting.generated.h"

UCLASS(config = CurrencySystem, DefaultConfig)
class CURRENCYSYSTEMRUNTIME_API UCurrencySetting : public UDeveloperSettings
{
	GENERATED_BODY()

public:
	UCurrencySetting();

	UPROPERTY(Config, EditAnywhere, meta = (ClampMin = "0", UIMin = "0"))
		int StartingAmount;
};

```

CPP:

```auto
#include "CurrencySetting.h"

UCurrencySetting::UCurrencySetting() : StartingAmount{}
{
	CategoryName = "Plugins";

	SectionName = "Currency System";
}

```

Result:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/d/1/fd1044ce53308f33f209f2031efc9b8670f7683c.png)

---

_[View the full topic](https://forums.unrealengine.com/t/how-to-add-custom-settings-in-project-settings/146330)._
