Steamworks.net How to add paid features to my game?

I am developing a Unity game and would like users to be able to play the game freely however I really would like some of the features to be behind a paywall to help support development while allowing users to purchasing access to the feature on Steam.

I currently am using the Steamworks.net plugin for Steam Workshop integration but I was wondering if it’s possible to use Steamworks.net to also lock features so users have a option to pay to unlock the feature?

Sounds like a question perfectly suited to the Steamworks forum.

I’ve not used that forum, I have always asked Steamworks related questions here in the past and usually received a answer. I just searched hours looking for Unity Steamworks purchased features but found zero results pertaining to how developers can implement paywalls on features in Unity games. I kind of feel the Steamworks forums would be even less informative than Unity forums, so I am still interested to know how to paywall certain features, if Steamworks doesn’t offer that service than how can I add paywalls to features in a Unity game in a more general way??

Yes dlc is an option on steam. And very popular. But you are best to read the steam sdk documentation.

1 Like
if (SteamworksPlayerHasPaidForFeature())
{
  PaidFeature.enabled = true;
}
else
{
  PaidFeature.enabled = false;
}

https://partner.steamgames.com/doc/store/application/dlc
https://partner.steamgames.com/doc/features/microtransactions

If you’re going the DLC route, an approach from the Steam-side is to stuff everything in the DLC in an asset bundle, and then have your core game handle the asset bundle being or not being there.

For a completely direct answer to your question, the thing to check is ISteamApps Interface (Steamworks Documentation)

1 Like

The game would basically check if a directory exists and if it contains the correct files, sub directories, or asset bundle then you would activate your bool for the game to load up and attempt to use this content. Many mobile games do not have this opportunity, and the content is always shipped in the one version. Making them subject to unlawful ownership.

I was asking about paid features, not downloadable content. I need to be able to lock functionality of my game.