Where it is not otherwise provided by this and other statutes, costs shall be allowed of course to the plaintiff, except as waived or released in writing by the plaintiff, upon a voluntary payment to the plaintiff after the action is filed but before judgment, or upon a judgment in favor of the plaintiff, in actions for the recovery of money only or for the recovery of specific real or personal property.
Neb. Rev. Stat. §§ 25-1708